зеркало из https://github.com/mozilla/gecko-dev.git
Use -lfoo for libs instead of hardcoding to $(DIST)/bin/libfoo.so. This makes
more unix linkers happy.
This commit is contained in:
Родитель
8063fc4cc6
Коммит
9e1cba8b52
|
@ -32,9 +32,10 @@ CPPSRCS=dlldeps.cpp nsWidgetSupport.cpp nsMotifWidgetFactory.cpp
|
|||
EXTRA_DSO_LDOPTS+=\
|
||||
$(DIST)/lib/libraptorwidgetunix_s.a \
|
||||
$(DIST)/lib/libraptorbasewidget_s.a \
|
||||
$(DIST)/bin/libxpcom.so \
|
||||
$(DIST)/bin/libraptorbase.so \
|
||||
$(DIST)/bin/libreg.so \
|
||||
-L$(DIST)/bin \
|
||||
-lxpcom \
|
||||
-lraptorbase \
|
||||
-lreg \
|
||||
$(LIBNSPR)\
|
||||
$(DIST)/lib/libplc21.a
|
||||
|
||||
|
|
|
@ -54,11 +54,14 @@ EXTRA_DSO_LDOPTS+=$(DIST)/lib/libraptorwidgetunix_s.a
|
|||
endif
|
||||
|
||||
EXTRA_DSO_LDOPTS+=\
|
||||
$(DIST)/lib/libraptorwidgetunix_s.a \
|
||||
$(DIST)/lib/libraptorbasewidget_s.a \
|
||||
$(DIST)/bin/libxpcom.so \
|
||||
$(DIST)/bin/libraptorbase.so \
|
||||
$(DIST)/bin/libreg.so \
|
||||
$(NSPR_LIBS)
|
||||
-L$(DIST)/bin \
|
||||
-lxpcom \
|
||||
-lraptorbase \
|
||||
-lreg \
|
||||
$(LIBNSPR)\
|
||||
$(DIST)/lib/libplc21.a
|
||||
|
||||
EXTRA_DSO_LDOPTS += $(FE_X_LIBS) $(XLDFLAGS) $(XLIBS)
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче