genode/repos/libports/lib/import/import-libcrypto.mk
Johannes Schlatow 5e4e634625 libs: use select_from_ports in eager assignments
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
2022-11-17 08:00:34 +01:00

13 lines
316 B
Makefile

LIB_OPENSSL_DIR = $(call select_from_repositories,src/lib/openssl)
ARCH = $(filter 32bit 64bit,$(SPECS))
OPENSSL_DIR := $(call select_from_ports,openssl)
INC_DIR += $(OPENSSL_DIR)/include
INC_DIR += $(LIB_OPENSSL_DIR)/spec/$(ARCH)
LIBS += libc
include $(call select_from_repositories,lib/import/import-libc.mk)