[build] Fix static build by including contrib/Makefile early (#100)
Closes: #99
This commit is contained in:
parent
4b08c7793d
commit
bc7864dae8
@ -29,6 +29,8 @@ endif
|
||||
.PHONY: all
|
||||
all: $(PROGRAMS) $(TESTLIBS)
|
||||
|
||||
include contrib/Makefile
|
||||
|
||||
SOURCE=\
|
||||
base/output_file_requirements.cc \
|
||||
base/application.cc \
|
||||
@ -140,10 +142,8 @@ CXX:=@CXX@
|
||||
STRIP:=@STRIP@
|
||||
OBJECTS:=$(subst .cc,.o,$(SOURCE))
|
||||
|
||||
# FIXME EMITTERS += $(PLUGIN_LIBS) doesn't work, probably because it's empty at
|
||||
# the time of use?
|
||||
ifeq ("@STATIC@", "yes")
|
||||
EMITTERS += contrib/*.a
|
||||
EMITTERS += $(PLUGIN_LIBS)
|
||||
endif
|
||||
|
||||
TOP_DIR:=@top_srcdir@
|
||||
@ -327,8 +327,6 @@ endif
|
||||
|
||||
.PHONY: install
|
||||
|
||||
include contrib/Makefile
|
||||
|
||||
ifeq ("@TESTING@", "yes")
|
||||
include unit-tests/Makefile
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user