mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-29 15:52:07 +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*)
|
*-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
|
||||||
|
Loading…
Reference in New Issue
Block a user