From 411f99f4445ea8b8fe85ff393e01dd6ef700cb48 Mon Sep 17 00:00:00 2001 From: giraffedata Date: Tue, 27 Mar 2007 02:06:28 +0000 Subject: Fix selection of default library suffix git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@258 9d0c8265-081b-0410-96cb-a4ca84ce46f8 --- buildtools/configure.pl | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'buildtools/configure.pl') diff --git a/buildtools/configure.pl b/buildtools/configure.pl index 9b0f136a..cb1723eb 100755 --- a/buildtools/configure.pl +++ b/buildtools/configure.pl @@ -611,9 +611,11 @@ sub libSuffix($) { #----------------------------------------------------------------------------- my $suffix; - if ($platform eq 'windows') { + if ($platform eq 'WINDOWS') { + $suffix = '.dll'; + } elsif ($platform eq 'AIX') { $suffix = '.a'; - } elsif ($platform eq 'darwin') { + } elsif ($platform eq 'DARWIN') { $suffix = '.dylib'; } else { $suffix = '.so'; -- cgit 1.4.1