mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-30 02:28:54 +00:00
5e4e634625
If `select_from_ports` is evaluated lazily, we might miss a port during the dependency check. A way to prevent this is to use the `:=` operator. Fixes genodelabs/genode#4618
15 lines
385 B
Makefile
15 lines
385 B
Makefile
ZLIB_DIR := $(call select_from_ports,zlib)/src/lib/zlib
|
|
LIBS += libc
|
|
INC_DIR += $(ZLIB_DIR)
|
|
SRC_C = adler32.c compress.c crc32.c deflate.c gzclose.c \
|
|
gzlib.c gzread.c gzwrite.c infback.c inffast.c inflate.c \
|
|
inftrees.c trees.c uncompr.c zutil.c
|
|
CC_WARN =
|
|
CC_OPT += -DZ_HAVE_UNISTD_H
|
|
|
|
vpath %.c $(ZLIB_DIR)
|
|
|
|
SHARED_LIB = yes
|
|
|
|
CC_CXX_WARN_STRICT =
|