summaryrefslogtreecommitdiffhomepage
path: root/sysinfo/version.sh
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2018-11-25 05:05:44 -0500
committermidipix <writeonce@midipix.org>2018-11-25 09:18:58 -0500
commitd8a892bd560513b50f625f42b8e886ea84c1ccd2 (patch)
tree7975a7632a56024ed93f95d50e9c12125a0f4c98 /sysinfo/version.sh
parent44dc2a5299e72960ec7181d5db84561cc06afbac (diff)
downloadsofort-d8a892bd560513b50f625f42b8e886ea84c1ccd2.tar.bz2
sofort-d8a892bd560513b50f625f42b8e886ea84c1ccd2.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/version.sh')
0 files changed, 0 insertions, 0 deletions