summaryrefslogtreecommitdiffstats
path: root/libsmartcols
diff options
context:
space:
mode:
authorRuediger Meier2017-05-31 21:02:12 +0200
committerRuediger Meier2017-06-01 03:16:48 +0200
commitc0d7b11a3fb01d1572e8467a905b76122d58c8b4 (patch)
tree480cd0ba12d8e3e7443763d483b38f404e471e1f /libsmartcols
parenttests: avoid diff of diffs (diff)
downloadkernel-qcow2-util-linux-c0d7b11a3fb01d1572e8467a905b76122d58c8b4.tar.gz
kernel-qcow2-util-linux-c0d7b11a3fb01d1572e8467a905b76122d58c8b4.tar.xz
kernel-qcow2-util-linux-c0d7b11a3fb01d1572e8467a905b76122d58c8b4.zip
build-sys: fix library order when linking
We got some errors on Alpine Linux where $LTLIBINTL is non-empty: ./.libs/libcommon.a(libcommon_la-blkdev.o): In function `open_blkdev_or_file': lib/blkdev.c:282: undefined reference to `libintl_gettext collect2: error: ld returned 1 exit status Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
Diffstat (limited to 'libsmartcols')
-rw-r--r--libsmartcols/samples/Makemodule.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/libsmartcols/samples/Makemodule.am b/libsmartcols/samples/Makemodule.am
index 0a54abbbf..644ac129e 100644
--- a/libsmartcols/samples/Makemodule.am
+++ b/libsmartcols/samples/Makemodule.am
@@ -8,7 +8,7 @@ check_PROGRAMS += \
sample_scols_cflags = $(AM_CFLAGS) $(NO_UNUSED_WARN_CFLAGS) \
-I$(ul_libsmartcols_incdir)
-sample_scols_ldadd = $(LDADD) libsmartcols.la
+sample_scols_ldadd = libsmartcols.la $(LDADD)
if HAVE_OPENAT
check_PROGRAMS += sample-scols-tree