genode/repos/libports/lib/import/import-libssl.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

11 lines
253 B
Makefile

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