summaryrefslogtreecommitdiff
path: root/sysinfo/host
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2018-11-25 05:05:44 -0500
committermidipix <writeonce@midipix.org>2018-11-25 09:17:30 -0500
commitf470d1f3ab5d30cb291b7745dde4f82aefe18cbb (patch)
tree4914f66fdd38fcc8f2a8b5073009ba79b99d2562 /sysinfo/host
parent2ce5e6e859a70e6b95e987c81ace3c042f1fae21 (diff)
downloadbcparser-f470d1f3ab5d30cb291b7745dde4f82aefe18cbb.tar.bz2
bcparser-f470d1f3ab5d30cb291b7745dde4f82aefe18cbb.tar.xz
build system: PE, ELF: defined DSO_REF_VER, DSO_REF_SONAME, DSO_REF_SOLINK.
These definitions come in handy when a project generates alongside its ``primary shared library'' one or more ``extension libraries'' that depend on it. When the rules for generating extension libraries use the $^ directive, the above dependency must be declared in a target-aware manner. In most cases, one would want to express this dependency by way of $(DSO_REF_SONAME), thereby pulling in lib/libfoo.so.$(MAJOR) on ELF targets, lib/libfoo.$(MAJOR).lib.a on midipix targets, and lib/libfoo.$(MAJOR).dll.a on win32 targets.
Diffstat (limited to 'sysinfo/host')
0 files changed, 0 insertions, 0 deletions