summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwchang0222%aol.com <devnull@localhost>2003-11-13 02:12:52 +0000
committerwchang0222%aol.com <devnull@localhost>2003-11-13 02:12:52 +0000
commit5261edbbf488499727eaa5d918c4e63019fb2f28 (patch)
tree43a5561077ea97a21a0e898b5c73545d1d5da6aa
parent2d8cc22a04a52945e934967dbd76f7ae2dfa0336 (diff)
downloadnspr-hg-5261edbbf488499727eaa5d918c4e63019fb2f28.tar.gz
Bugzilla bug 225260: link NSPR dynamic shared libraries with the
-headerpad_max_install_names option. sr=fraser. Tag: NSPR_4_4_BRANCH
-rwxr-xr-xconfigure2
-rw-r--r--configure.in2
2 files changed, 2 insertions, 2 deletions
diff --git a/configure b/configure
index 7de103f3..21f01965 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 af23f40f..cb96faa6 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 $@'