mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 12:03:31 +01:00
defs.mk, projects.py: Fix PREREQ_BUILD ignored in LIBFLAGS
PREREQ_BUILD doesn\'t make it into linker flags. This patch hopefully fixes that. Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
488ffa1e3c
commit
79278ea8bd
2 changed files with 12 additions and 9 deletions
10
make/defs.mk
10
make/defs.mk
|
|
@ -979,11 +979,11 @@ endif
|
|||
|
||||
INCLUDE += $(call proj_query, cflags $(PREREQ_BUILD) $(PROJECT))
|
||||
|
||||
#ifneq ($(USE_PROJECT_LIB),false)
|
||||
LIBFLAGS += $(call proj_query, ldflags $(addprefix --exclude ,$(LDFLAGS_EXCLUDE)) $(PROJECT))
|
||||
#else
|
||||
#LIBFLAGS += $(call proj_query, ldflags $(PREREQ_BUILD))
|
||||
#endif
|
||||
LDFLAGS_QUERY_ARGS = $(addprefix --exclude ,$(LDFLAGS_EXCLUDE)) $(PREREQ_BUILD) $(PROJECT)
|
||||
ifeq ($(USE_PROJECT_LIB),true)
|
||||
LDFLAGS_QUERY_ARGS += --add-self
|
||||
endif
|
||||
LIBFLAGS += $(call proj_query, ldflags $(LDFLAGS_QUERY_ARGS))
|
||||
|
||||
#include $(MODDIR)/make/lib-deps.mk
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue