summaryrefslogtreecommitdiffhomepage
path: root/sysinfo/compiler
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2018-11-25 05:05:44 -0500
committermidipix <writeonce@midipix.org>2018-11-25 09:22:52 -0500
commit333a37fe037f5ddcc16625199ff4b20b8aef7d6c (patch)
tree7a563b5490e4fb7e20a6500fe5e69710ea83d329 /sysinfo/compiler
parentf6d81d40ea003a10b7d7a613234d0e587e77d8d2 (diff)
downloadntux-333a37fe037f5ddcc16625199ff4b20b8aef7d6c.tar.bz2
ntux-333a37fe037f5ddcc16625199ff4b20b8aef7d6c.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/compiler')
0 files changed, 0 insertions, 0 deletions