summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwchang0222%aol.com <devnull@localhost>2003-11-13 02:09:43 +0000
committerwchang0222%aol.com <devnull@localhost>2003-11-13 02:09:43 +0000
commit08e9028b3b9dfb3085df5b8fea7acadbb30c7698 (patch)
treeacfb2a05c737a7861a9376fb6a7db7ed9bde7e98
parent4b3f4c0a3126c6997631f48d376b75a69761b86f (diff)
downloadnspr-hg-08e9028b3b9dfb3085df5b8fea7acadbb30c7698.tar.gz
Bugzilla bug 225260: link NSPR dynamic shared libraries with the
-headerpad_max_install_names option. sr=fraser. Tag: NSPRPUB_PRE_4_2_CLIENT_BRANCH
-rwxr-xr-xconfigure2
-rw-r--r--configure.in2
2 files changed, 2 insertions, 2 deletions
diff --git a/configure b/configure
index f8cfdcfd..efa17a86 100755
--- a/configure
+++ b/configure
@@ -3209,7 +3209,7 @@ EOF
CPU_ARCH=ppc
fi
- DSO_LDOPTS='-dynamiclib -compatibility_version 1 -current_version 1 -all_load -install_name @executable_path/$@'
+ DSO_LDOPTS='-dynamiclib -compatibility_version 1 -current_version 1 -all_load -install_name @executable_path/$@ -headerpad_max_install_names'
# Use the standard preprocessor (cpp)
CFLAGS="$CFLAGS -no-cpp-precomp"
MKSHLIB='$(CC) -arch $(CPU_ARCH) $(DSO_LDOPTS) -o $@'
diff --git a/configure.in b/configure.in
index 7bc24119..40ad5f37 100644
--- a/configure.in
+++ b/configure.in
@@ -862,7 +862,7 @@ case "$target" in
AC_DEFINE(ppc)
CPU_ARCH=ppc
fi
- DSO_LDOPTS='-dynamiclib -compatibility_version 1 -current_version 1 -all_load -install_name @executable_path/$@'
+ DSO_LDOPTS='-dynamiclib -compatibility_version 1 -current_version 1 -all_load -install_name @executable_path/$@ -headerpad_max_install_names'
# Use the standard preprocessor (cpp)
CFLAGS="$CFLAGS -no-cpp-precomp"
MKSHLIB='$(CC) -arch $(CPU_ARCH) $(DSO_LDOPTS) -o $@'