Hej Ralph,
There is something, that I don't understand at all.
This line
ethercatmcsupport_LIBS +=
Vendor
should give another "-l", like "-lVendor" (but that is not the case)
And this line
Vendor_DIR = /usr/local/lib
Should give a "-L/usr/local/lib"
And that is not the case either.
And I am hacking here:
<https://github.com/EuropeanSpallationSource/m-epics-ethercatmc/blob/master/ethercatmcExApp/src/Makefile>
BR
/Torsten
From: Core-talk <core-talk-bounces at aps.anl.gov> on behalf of Ralph Lange via Core-talk <core-talk at aps.anl.gov>
Reply to: Ralph Lange <ralph.lange at gmx.de>
Date: Tuesday, 13 June 2023 at 11:52
To: EPICS Core Talk <core-talk at aps.anl.gov>
Subject: Re: STATIC_BUILD=NO howto ?
For each external library, you need to declare its location.
If you want to link against libVendor.so:
yoursupport_LIBS += Vendor
Vendor_DIR = /opt/crap/bla/VendorSDK/lib