Define and use DLOPEN_LIBS

This commit is contained in:
Mark Andrews
2023-04-03 16:12:08 +10:00
committed by Ondřej Surý
parent 30b9ebfa2c
commit da999a7a1b
3 changed files with 6 additions and 2 deletions

View File

@@ -9,4 +9,4 @@ AM_CFLAGS += -Wall -pedantic
check_LTLIBRARIES = libdummyrpz.la
libdummyrpz_la_SOURCES= dummylib.c test-data.c trpz.h test-data.h
libdummyrpz_la_LDFLAGS = -avoid-version -module -shared -export-dynamic -rpath $(abs_builddir)
LDADD += -lpthread -ldl
LDADD += -lpthread $(DLOPEN_LIBS)