From 54581080a13bd96a20ef84e3ff1f5ee973f7c437 Mon Sep 17 00:00:00 2001 From: Sebastian Marsching Date: Thu, 21 Jun 2018 15:06:03 +0200 Subject: [PATCH] Add ChimeraTK libraries to _SYS_LIBS. The are already includes through USR_LDFLAGS, but those are added early in the command line and thus the resulting device support library is not linked to the ChimeraTK libraries when compiling on Linux. This has the consequence that an IOC linking to the device support will not compile unless it explicitly links to the ChimeraTK libraries as well. --- chimeraTKApp/src/Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/chimeraTKApp/src/Makefile b/chimeraTKApp/src/Makefile index 32fb4de..d406d8b 100644 --- a/chimeraTKApp/src/Makefile +++ b/chimeraTKApp/src/Makefile @@ -28,6 +28,9 @@ ChimeraTK-ControlSystemAdapter-EPICS_SRCS += registrar.cpp ChimeraTK-ControlSystemAdapter-EPICS_LIBS += $(EPICS_BASE_IOC_LIBS) +ChimeraTK-ControlSystemAdapter-EPICS_SYS_LIBS += ChimeraTK-ControlSystemAdapter +ChimeraTK-ControlSystemAdapter-EPICS_SYS_LIBS += mtca4u-deviceaccess + #=========================== include $(TOP)/configure/RULES