Skip to content

Commit

Permalink
Add ChimeraTK libraries to _SYS_LIBS.
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
smarsching committed Jun 21, 2018
1 parent dc75b6e commit 5458108
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions chimeraTKApp/src/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5458108

Please sign in to comment.