summaryrefslogtreecommitdiffhomepage
path: root/sysinfo/toolchain
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:59 -0500
commitff172c0961ae3904fd22c1fb492d4577d490e691 (patch)
treead9bcde749c4314e2db1a6be607d2726a515bedd /sysinfo/toolchain
parent672ccced1a2d2dde717adf2b2d1f5557c40a1aec (diff)
downloadw32lib-ff172c0961ae3904fd22c1fb492d4577d490e691.tar.bz2
w32lib-ff172c0961ae3904fd22c1fb492d4577d490e691.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/toolchain')
0 files changed, 0 insertions, 0 deletions