summaryrefslogtreecommitdiffstats
path: root/libuuid
diff options
context:
space:
mode:
authorRuediger Meier2016-02-17 17:37:41 +0100
committerRuediger Meier2016-02-18 12:53:48 +0100
commit3719bf8de9c40ac46a8a44b57623822aa2274a69 (patch)
treea3153306ec16fd791fea106f771a2980cef215cf /libuuid
parentbuild-sys: portable usage of find command (diff)
downloadkernel-qcow2-util-linux-3719bf8de9c40ac46a8a44b57623822aa2274a69.tar.gz
kernel-qcow2-util-linux-3719bf8de9c40ac46a8a44b57623822aa2274a69.tar.xz
kernel-qcow2-util-linux-3719bf8de9c40ac46a8a44b57623822aa2274a69.zip
build-sys: check linker support for version scripts
The macro AX_CHECK_VSCRIPT was taken from gnu autoconf archive. http://www.gnu.org/software/autoconf-archive/ Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
Diffstat (limited to 'libuuid')
-rw-r--r--libuuid/src/Makemodule.am4
1 files changed, 3 insertions, 1 deletions
diff --git a/libuuid/src/Makemodule.am b/libuuid/src/Makemodule.am
index 180ac01c0..dc8d8672a 100644
--- a/libuuid/src/Makemodule.am
+++ b/libuuid/src/Makemodule.am
@@ -37,7 +37,9 @@ libuuid_la_CFLAGS = \
libuuid_la_LDFLAGS = \
$(SOLIB_LDFLAGS) \
- -Wl,--version-script=$(top_srcdir)/libuuid/src/libuuid.sym \
+if HAVE_VSCRIPT
+ libuuid_la_LDFLAGS += $(VSCRIPT_LDFLAGS),$(top_srcdir)/libuuid/src/libuuid.sym \
+endif
-version-info $(LIBUUID_VERSION_INFO)
EXTRA_DIST += libuuid/src/libuuid.sym