diff options
author | wtchang%redhat.com <devnull@localhost> | 2005-04-27 18:19:11 +0000 |
---|---|---|
committer | wtchang%redhat.com <devnull@localhost> | 2005-04-27 18:19:11 +0000 |
commit | 1ec70e932a009e881af37a75c6915339438d879e (patch) | |
tree | e262c3215ae9802a75611a77b0cad8f133a8e181 | |
parent | fb4bc99f261de8befc2021b84fc0f8c3cfb0cacf (diff) | |
download | nspr-hg-1ec70e932a009e881af37a75c6915339438d879e.tar.gz |
Bugzilla Bug 289015: enable nspr-config to use the --libdir option passed
to the configure script. The patch is contributed by Ray Strode
<rstrode@redhat.com>. r=wtc,cls.
-rwxr-xr-x | config/nspr-config.in | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/config/nspr-config.in b/config/nspr-config.in index e9e18679..b15c2bcb 100755 --- a/config/nspr-config.in +++ b/config/nspr-config.in @@ -3,6 +3,7 @@ prefix=@prefix@ exec_prefix=@exec_prefix@ exec_prefix_set=no +libdir=@libdir@ major_version=@MOD_MAJOR_VERSION@ minor_version=@MOD_MINOR_VERSION@ @@ -95,7 +96,7 @@ if test "$echo_cflags" = "yes"; then fi if test "$echo_libs" = "yes"; then - libdirs=-L${exec_prefix}/lib + libdirs=-L${libdir} if test -n "$lib_plds"; then libdirs="$libdirs -lplds${major_version}" fi |