summaryrefslogtreecommitdiff
path: root/project
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2018-11-25 05:05:44 -0500
committermidipix <writeonce@midipix.org>2018-11-25 05:15:43 -0500
commit7660154bdfc7470cf2c4a5235f0073b61d4a5a0c (patch)
tree35f487786ba8ccc8cfc7c1bcd09240c3a322ed51 /project
parent6c01728711c28ed9c868b5d56c0cc6c2ba76394e (diff)
downloadsbpython2-7660154bdfc7470cf2c4a5235f0073b61d4a5a0c.tar.bz2
sbpython2-7660154bdfc7470cf2c4a5235f0073b61d4a5a0c.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 'project')
0 files changed, 0 insertions, 0 deletions