diff options
-rwxr-xr-x | buildtools/configure.pl | 8 |
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"); |