summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwtchang%redhat.com <devnull@localhost>2005-04-28 22:47:29 +0000
committerwtchang%redhat.com <devnull@localhost>2005-04-28 22:47:29 +0000
commit64bb45d26d82900a437ae94fef73ceeb7d00d570 (patch)
treed24a38c04058c6703caa36d7e95450bb99127514
parent93fe0dc601859acbdc16f9542ce3bd63ce01d496 (diff)
downloadnspr-hg-64bb45d26d82900a437ae94fef73ceeb7d00d570.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. a=asa for mozilla1.8b2 and aviary1.1a. Tag: NSPRPUB_PRE_4_2_CLIENT_BRANCH
-rwxr-xr-xconfig/nspr-config.in3
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