The idiom for install rules (as per automake, cmake, meson, etc) is that you can set
PREFIX=/usr
and DESTDIR=/my/build/tree
, so that you can install to/my/build/tree/usr/
for packaging.OpenCSD doesn't support this and currently
PREFIX
has to be manually extended with theDESTDIR
. The moment the build wants to embed the prefix into the binaries, this workaround will fail.Simply adding
$(DESTDIR)
before the target paths in theinstall
rule will solve this.—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.