зеркало из https://github.com/mozilla/pjs.git
Better fix for build bustage. Use ZLIB_LIBS instead of -z. r=ramiro,shaver
This commit is contained in:
Родитель
ea526cbf58
Коммит
023e035db6
|
@ -34,7 +34,29 @@ include $(topsrcdir)/config/config.mk
|
||||||
|
|
||||||
INCLUDES+=-I$(srcdir)/../src -I$(PUBLIC)/raptor -I$(PUBLIC)/xpcom
|
INCLUDES+=-I$(srcdir)/../src -I$(PUBLIC)/raptor -I$(PUBLIC)/xpcom
|
||||||
|
|
||||||
LIBS = \
|
ifndef NECKO
|
||||||
|
LIBS = \
|
||||||
|
-lnetlib \
|
||||||
|
-lhttpurl \
|
||||||
|
-lgophurl \
|
||||||
|
-labouturl \
|
||||||
|
-lremoturl \
|
||||||
|
-lfileurl \
|
||||||
|
-lftpurl \
|
||||||
|
-lnetwork \
|
||||||
|
-lsockstuburl \
|
||||||
|
-lmimetype \
|
||||||
|
-lnetcnvts \
|
||||||
|
-lnetcache \
|
||||||
|
-lpwcac \
|
||||||
|
$(NULL)
|
||||||
|
else
|
||||||
|
LIBS = \
|
||||||
|
-lneckoutil_s \
|
||||||
|
$(NULL)
|
||||||
|
endif
|
||||||
|
|
||||||
|
LIBS += \
|
||||||
-lraptorgfx \
|
-lraptorgfx \
|
||||||
-lgfx$(MOZ_TOOLKIT) \
|
-lgfx$(MOZ_TOOLKIT) \
|
||||||
$(TK_LIBS) \
|
$(TK_LIBS) \
|
||||||
|
@ -52,28 +74,6 @@ LIBS = \
|
||||||
$(ZLIB_LIBS) \
|
$(ZLIB_LIBS) \
|
||||||
$(NULL)
|
$(NULL)
|
||||||
|
|
||||||
ifndef NECKO
|
|
||||||
LIBS += \
|
|
||||||
-lnetlib \
|
|
||||||
-lhttpurl \
|
|
||||||
-lgophurl \
|
|
||||||
-labouturl \
|
|
||||||
-lremoturl \
|
|
||||||
-lfileurl \
|
|
||||||
-lftpurl \
|
|
||||||
-lnetwork \
|
|
||||||
-lsockstuburl \
|
|
||||||
-lmimetype \
|
|
||||||
-lnetcnvts \
|
|
||||||
-lnetcache \
|
|
||||||
-lpwcac \
|
|
||||||
-lz \
|
|
||||||
$(NULL)
|
|
||||||
else
|
|
||||||
LIBS += \
|
|
||||||
-lneckoutil_s \
|
|
||||||
$(NULL)
|
|
||||||
endif
|
|
||||||
|
|
||||||
|
|
||||||
SIMPLE_PROGRAMS = $(addprefix $(OBJDIR)/, $(CPPSRCS:.cpp=))
|
SIMPLE_PROGRAMS = $(addprefix $(OBJDIR)/, $(CPPSRCS:.cpp=))
|
||||||
|
|
Загрузка…
Ссылка в новой задаче