about summary refs log tree commit diff
path: root/buildtools/configure.pl
diff options
context:
space:
mode:
Diffstat (limited to 'buildtools/configure.pl')
-rwxr-xr-xbuildtools/configure.pl8
1 files changed, 4 insertions, 4 deletions
diff --git a/buildtools/configure.pl b/buildtools/configure.pl
index a33340d5..16ee575a 100755
--- a/buildtools/configure.pl
+++ b/buildtools/configure.pl
@@ -2142,13 +2142,13 @@ if ($platform eq "GNU") {
     push(@Makefile_config, 'CFLAGS_SHLIB = -fno-common', "\n");
 
     my $installNameOpt;
-    if ($netpbmlib eq '') {
+    if ($netpbmlib_runtime_path eq '') {
         $installNameOpt = '';
     } else {
         $installNameOpt  =
-            '-install_name $(NETPBMLIB_RUNTIME_PATH)/libnetpbm.$(MAJ).dylib', 
-        }
-    push(@Makefile_config, "LDSHLIB = -dynamiclib $installNameOpt\n"
+            '-install_name $(NETPBMLIB_RUNTIME_PATH)/libnetpbm.$(MAJ).dylib';
+    }
+    push(@Makefile_config, "LDSHLIB = -dynamiclib $installNameOpt\n");
 #    push(@Makefile_config, "INSTALL = install\n");
 } else {
     die ("Internal error: invalid value for \$platform: '$platform'\n");