Fix for the NetBSD build breakage (hopefully).

This commit is contained in:
briano%netscape.com 1999-03-11 23:16:49 +00:00
parent 5cf6c68027
commit b91bd9b1d1

View File

@ -288,8 +288,8 @@ alpha*-*-osf*)
*-netbsd*) *-netbsd*)
DLL_SUFFIX="so.1.0" DLL_SUFFIX="so.1.0"
DSO_CFLAGS='-fPIC' DSO_CFLAGS='-fPIC'
DSO_LDOPTS='-shared -h $(@:$(OBJDIR)/%.$(DLL_SUFFIX)=%.$(DLL_SUFFIX))' DSO_LDOPTS='-Wl,-shared -Wl,-h -Wl,$(@:$(OBJDIR)/%.$(DLL_SUFFIX)=%.$(DLL_SUFFIX))'
MKSHLIB='$(LD) $(DSO_LDOPTS)' MKSHLIB='$(CXX) $(DSO_LDOPTS)'
if test -z "`$CC -E - -dM </dev/null | grep __ELF__`"; then if test -z "`$CC -E - -dM </dev/null | grep __ELF__`"; then
DSO_LDOPTS="-Bshareable" DSO_LDOPTS="-Bshareable"
fi fi