summaryrefslogtreecommitdiffhomepage
path: root/src/internal/slibtool_objmeta_impl.c
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:57 -0500
commit855e0c3234233bf3bfae2ce99b8e19fe058d9ca6 (patch)
tree6ff99bb62fa01204c12a0b0be1246559c63288f5 /src/internal/slibtool_objmeta_impl.c
parent463e5cd0988ec03ff0c93c79a548c54840e973bb (diff)
downloadslibtool-855e0c3234233bf3bfae2ce99b8e19fe058d9ca6.tar.bz2
slibtool-855e0c3234233bf3bfae2ce99b8e19fe058d9ca6.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 'src/internal/slibtool_objmeta_impl.c')
0 files changed, 0 insertions, 0 deletions