diff options
author | midipix <writeonce@midipix.org> | 2018-11-25 05:05:44 -0500 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2018-11-25 09:18:58 -0500 |
commit | 5a4bd837244257bd9c1a9cc1633f6dc2c4f03fc7 (patch) | |
tree | 0ca8fbe5b7c98549617bda05934e1ac652483611 /sysinfo/host/any-host.mk | |
parent | 81304711ca79b93574845876f91df9342a776fd4 (diff) | |
download | u16ports-5a4bd837244257bd9c1a9cc1633f6dc2c4f03fc7.tar.bz2 u16ports-5a4bd837244257bd9c1a9cc1633f6dc2c4f03fc7.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/any-host.mk')
0 files changed, 0 insertions, 0 deletions