summaryrefslogtreecommitdiff
path: root/libsmartcols
diff options
context:
space:
mode:
authorRuediger Meier <ruediger.meier@ga-group.nl>2016-02-17 17:37:41 +0100
committerRuediger Meier <ruediger.meier@ga-group.nl>2016-02-18 12:53:48 +0100
commit3719bf8de9c40ac46a8a44b57623822aa2274a69 (patch)
treea3153306ec16fd791fea106f771a2980cef215cf /libsmartcols
parent51658498c41f46950b6a418589b371c8ae8c09da (diff)
downloadutil-linux-3719bf8de9c40ac46a8a44b57623822aa2274a69.tar.gz
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 'libsmartcols')
-rw-r--r--libsmartcols/src/Makemodule.am4
1 files changed, 3 insertions, 1 deletions
diff --git a/libsmartcols/src/Makemodule.am b/libsmartcols/src/Makemodule.am
index c2ec515d4..257d46dcb 100644
--- a/libsmartcols/src/Makemodule.am
+++ b/libsmartcols/src/Makemodule.am
@@ -36,7 +36,9 @@ libsmartcols_la_DEPENDENCIES = \
libsmartcols_la_LDFLAGS = \
$(SOLIB_LDFLAGS) \
- -Wl,--version-script=$(top_srcdir)/libsmartcols/src/libsmartcols.sym \
+if HAVE_VSCRIPT
+ $(VSCRIPT_LDFLAGS),$(top_srcdir)/libsmartcols/src/libsmartcols.sym \
+endif
-version-info $(LIBSMARTCOLS_VERSION_INFO)
EXTRA_DIST += \