Bugzilla bug 225260: link NSPR dynamic shared libraries with the

-headerpad_max_install_names option. sr=sfraser.
This commit is contained in:
wchang0222%aol.com 2003-11-13 02:03:44 +00:00
Родитель 280ac7db5a
Коммит 878a555bd3
2 изменённых файлов: 2 добавлений и 2 удалений

2
nsprpub/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 $@'

Просмотреть файл

@ -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 $@'