Changed BeOS linker flags so that it will resolve all symbols when linking shared libs. Added -lbe to OS_LIBS for BeOS. This should get rid of the "missing symbol" error at runtime.

This commit is contained in:
cls%seawood.org 2000-04-17 03:47:33 +00:00
parent 70a1ccbb33
commit 56e9ddefaa
5 changed files with 312 additions and 299 deletions

597
configure vendored

File diff suppressed because it is too large Load Diff

View File

@ -526,9 +526,10 @@ case "$target" in
*-beos*)
MKSHLIB='$(CXX) $(CXXFLAGS) $(DSO_LDOPTS)'
DSO_LDOPTS='-nostart -Xlinker --ignore-undefined'
DSO_LDOPTS='-nostart -Wl,-h -Wl,$@'
TK_LIBS='-lbe -lroot'
MOZ_TIMER_LIBS='$(DIST)/lib/libtimer_beos.so'
LIBS="$LIBS -lbe"
_WARNINGS_CFLAGS="${_WARNINGS_CFLAGS} -Wno-multichar"
_WARNINGS_CXXFLAGS="${_WARNINGS_CXXFLAGS} -Wno-multichar -Wno-ctor-dtor-privacy"
;;

View File

@ -49,3 +49,7 @@ DEFINES += -D_IMPL_NS_GFXONXP
CXXFLAGS += $(TK_CFLAGS)
INCLUDES += $(TK_CFLAGS)
EXTRA_DSO_LDOPTS += \
-lraptorgfx \
$(XPCOM_LIBS) \
$(TK_LIBS)

View File

@ -65,6 +65,9 @@ EXTRA_DSO_LDOPTS = \
$(MKSHLIB_FORCE_ALL) \
$(SHARED_LIBRARY_LIBS) \
$(MKSHLIB_UNFORCE_ALL) \
$(MOZ_COMPONENT_LIBS) \
$(MOZ_TIMER_LIBS) \
-lraptorgfx \
$(TK_LIBS) \
$(NULL)

View File

@ -39,3 +39,7 @@ DEFINES += -D_IMPL_NS_TIMER
CXXFLAGS += $(TK_CFLAGS)
INCLUDES += $(TK_CFLAGS) -I$(srcdir)/..
EXTRA_DSO_LDOPTS += \
$(XPCOM_LIBS) \
$(TK_LIBS)