Skip to content
Snippets Groups Projects
Commit 7baa115a authored by Mans Rullgard's avatar Mans Rullgard
Browse files

build: export filtered -lz flag in config.mak


This is needed to link tools/cws2fws using a linker with non-standard
command line syntax.

Signed-off-by: default avatarMans Rullgard <mans@mansr.com>
parent 095792f2
No related branches found
No related tags found
No related merge requests found
...@@ -93,7 +93,7 @@ all: $(PROGS) ...@@ -93,7 +93,7 @@ all: $(PROGS)
$(TOOLS): %$(EXESUF): %.o $(TOOLS): %$(EXESUF): %.o
$(LD) $(LDFLAGS) $(LD_O) $< $(ELIBS) $(LD) $(LDFLAGS) $(LD_O) $< $(ELIBS)
tools/cws2fws$(EXESUF): ELIBS = -lz tools/cws2fws$(EXESUF): ELIBS = $(ZLIB)
config.h: .config config.h: .config
.config: $(wildcard $(FFLIBS:%=$(SRC_PATH)/lib%/all*.c)) .config: $(wildcard $(FFLIBS:%=$(SRC_PATH)/lib%/all*.c))
......
...@@ -3561,6 +3561,7 @@ TARGET_EXEC=$target_exec ...@@ -3561,6 +3561,7 @@ TARGET_EXEC=$target_exec
TARGET_PATH=$target_path TARGET_PATH=$target_path
LIBS-avplay=$sdl_libs LIBS-avplay=$sdl_libs
CFLAGS-avplay=$sdl_cflags CFLAGS-avplay=$sdl_cflags
ZLIB=$($ldflags_filter -lz)
LIB_INSTALL_EXTRA_CMD=$LIB_INSTALL_EXTRA_CMD LIB_INSTALL_EXTRA_CMD=$LIB_INSTALL_EXTRA_CMD
EXTRALIBS=$extralibs EXTRALIBS=$extralibs
INSTALL=install INSTALL=install
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment