diff --git a/modules/libcom/test/Makefile b/modules/libcom/test/Makefile index e3d1820f6..130c23512 100755 --- a/modules/libcom/test/Makefile +++ b/modules/libcom/test/Makefile @@ -292,7 +292,7 @@ ifeq ($(POSIX),YES) ifeq ($(USE_POSIX_THREAD_PRIORITY_SCHEDULING),YES) TESTPROD_HOST += nonEpicsThreadPriorityTest nonEpicsThreadPriorityTest_SRCS += nonEpicsThreadPriorityTest.cpp -nonEpicsThreadPriorityTest_SYS_LIBS += pthread rt +nonEpicsThreadPriorityTest_SYS_LIBS += $(POSIX_LDLIBS:-l%=%) testHarness_SRCS += nonEpicsThreadPriorityTest.cpp epicsRunLibComTests_CFLAGS += -DHAVE_PTHREAD_PRIORITY_SCHEDULING TESTS += nonEpicsThreadPriorityTest