Cleanup: popt library detection
[lttng-tools.git] / tests / regression / kernel / Makefile.am
index 92c21bc9fb13413db5d80d8db23e3a7e00e1f9e7..c4ee443908cf6bc31c9510a47599bd72f55187d8 100644 (file)
@@ -4,7 +4,7 @@ EXTRA_DIST = test_event_basic test_all_events test_syscall \
 
 noinst_PROGRAMS = select_poll_epoll
 select_poll_epoll_SOURCES = select_poll_epoll.c
 
 noinst_PROGRAMS = select_poll_epoll
 select_poll_epoll_SOURCES = select_poll_epoll.c
-select_poll_epoll_LDADD = -lpthread -lpopt
+select_poll_epoll_LDADD = $(POPT_LIBS)
 select_poll_epoll_CFLAGS = -fno-stack-protector -D_FORTIFY_SOURCE=0 $(AM_CFLAGS)
 
 all-local:
 select_poll_epoll_CFLAGS = -fno-stack-protector -D_FORTIFY_SOURCE=0 $(AM_CFLAGS)
 
 all-local:
This page took 0.022754 seconds and 4 git commands to generate.