separate NO_DYNAMIC_LIST option

This commit is contained in:
dzaima 2022-10-16 15:25:43 +03:00
parent 2a17d87572
commit 4a641ddf43

View File

@ -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