From 4a641ddf43ead360fe9eed2093e9daf08ce17f9f Mon Sep 17 00:00:00 2001 From: dzaima Date: Sun, 16 Oct 2022 15:25:43 +0300 Subject: [PATCH] separate NO_DYNAMIC_LIST option --- makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/makefile b/makefile index ab8610b2..c289e4ac 100644 --- a/makefile +++ b/makefile @@ -79,7 +79,12 @@ ifeq ($(origin FFI),command line) custom = 1 endif ifneq ($(i_FFI),0) - i_LD_LIBS += -ldl -Wl,--dynamic-list=include/syms + i_LD_LIBS += -ldl +ifneq ($(NO_DYNAMIC_LIST),1) + i_LD_LIBS += -Wl,--dynamic-list=include/syms +else + custom = 1 +endif endif ifeq ($(i_FFI),2) i_LD_LIBS += -lffi