openbsd-ports/www/mozilla/patches/patch-configure_in

22 lines
754 B
Plaintext

$OpenBSD: patch-configure_in,v 1.3 2003/05/14 21:50:59 wilfried Exp $
--- configure.in.orig Sat May 10 20:39:08 2003
+++ configure.in Mon May 12 09:40:07 2003
@@ -1208,12 +1208,11 @@ case "$target" in
DLL_SUFFIX=".so.1.0"
DSO_CFLAGS=''
DSO_PIC_CFLAGS='-fPIC'
- DSO_LDOPTS='-shared -h $@'
- MKSHLIB='$(LD) $(DSO_LDOPTS) -o $@'
- MKCSHLIB='$(LD) $(DSO_LDOPTS) -o $@'
- if $CC -E - -dM </dev/null | grep -v __ELF__ >/dev/null; then
- DSO_LDOPTS="-Bshareable /usr/lib/c++rt0.o"
- fi
+ DSO_LDOPTS='-shared'
+ MKSHLIB='$(CC) $(DSO_LDOPTS) -o $@'
+ MKCSHLIB='$(CC) $(DSO_LDOPTS) -o $@'
+ MKSHLIB_FORCE_ALL=''
+ MKSHLIB_UNFORCE_ALL=''
if test "$LIBRUNPATH"; then
DSO_LDOPTS="-R$LIBRUNPATH $DSO_LDOPTS"
fi