mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 22:01:30 +00:00
Fix for the NetBSD build breakage (hopefully).
This commit is contained in:
parent
5cf6c68027
commit
b91bd9b1d1
@ -288,8 +288,8 @@ alpha*-*-osf*)
|
||||
*-netbsd*)
|
||||
DLL_SUFFIX="so.1.0"
|
||||
DSO_CFLAGS='-fPIC'
|
||||
DSO_LDOPTS='-shared -h $(@:$(OBJDIR)/%.$(DLL_SUFFIX)=%.$(DLL_SUFFIX))'
|
||||
MKSHLIB='$(LD) $(DSO_LDOPTS)'
|
||||
DSO_LDOPTS='-Wl,-shared -Wl,-h -Wl,$(@:$(OBJDIR)/%.$(DLL_SUFFIX)=%.$(DLL_SUFFIX))'
|
||||
MKSHLIB='$(CXX) $(DSO_LDOPTS)'
|
||||
if test -z "`$CC -E - -dM </dev/null | grep __ELF__`"; then
|
||||
DSO_LDOPTS="-Bshareable"
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user