On Saturday, 17 June 2017 at 00:37:18 UTC, Jolly James wrote:
Unfortunately, the public DUB package requires to be linked
with the libs from pkgBASE/lib. What do I have to add to
pkgBASE's dub.json?
Side-note: the lib/ should not be moved for portability
reasons if this is possible
My bad solution:
"lflags": [
"-Llib\\"
],
but this requires the lib folder to be part of pkgAPP, not
pkgBASE where I would like to have it. Does anyone have an idea?
Replace the lflags directive with this in the pkgBase dub.json:
"libs": [
"$PACKAGE_DIR/libs/foo"
]