openbsd-ports/www/mozilla/patches/patch-configure_in
drahn f49e710253 Update to 0.9.3, still fails to run, but other people can work
on the ld.so problems too.
heavily based on the FreeBSD port.
2001-08-13 14:16:34 +00:00

21 lines
664 B
Plaintext

--- configure.in.orig Tue Jul 24 18:29:54 2001
+++ configure.in Fri Aug 10 23:31:00 2001
@@ -842,12 +842,11 @@
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