2024-03-11 07:50:57 +00:00
|
|
|
libraries += libplugintest libplugintestfail
|
2018-02-08 16:26:18 +00:00
|
|
|
|
2018-02-13 17:49:14 +00:00
|
|
|
libplugintest_DIR := $(d)
|
2018-02-08 16:26:18 +00:00
|
|
|
|
2018-02-13 17:49:14 +00:00
|
|
|
libplugintest_SOURCES := $(d)/plugintest.cc
|
2018-02-08 16:26:18 +00:00
|
|
|
|
2018-02-13 17:49:14 +00:00
|
|
|
libplugintest_ALLOW_UNDEFINED := 1
|
2018-02-08 16:26:18 +00:00
|
|
|
|
2018-02-13 17:49:14 +00:00
|
|
|
libplugintest_EXCLUDE_FROM_LIBRARY_LIST := 1
|
2020-03-30 12:29:29 +00:00
|
|
|
|
2023-04-06 11:15:50 +00:00
|
|
|
libplugintest_CXXFLAGS := -I src/libutil -I src/libstore -I src/libexpr -I src/libfetchers
|
2024-03-11 07:50:57 +00:00
|
|
|
|
|
|
|
libplugintestfail_DIR := $(d)
|
|
|
|
|
|
|
|
libplugintestfail_SOURCES := $(d)/plugintestfail.cc
|
|
|
|
|
|
|
|
libplugintestfail_ALLOW_UNDEFINED := 1
|
|
|
|
|
|
|
|
libplugintestfail_EXCLUDE_FROM_LIBRARY_LIST := 1
|
|
|
|
|
|
|
|
libplugintestfail_CXXFLAGS := -I src/libutil -I src/libstore -I src/libexpr -I src/libfetchers -DMISSING_REFERENCE
|
|
|
|
|
|
|
|
# Make sure that the linker strictly evaluates all symbols on .so load on Linux
|
|
|
|
# so it will definitely fail to load as expected.
|
|
|
|
ifdef HOST_LINUX
|
|
|
|
libplugintestfail_LDFLAGS += -z now
|
|
|
|
endif
|