diff options
author | Ruediger Meier | 2017-05-31 21:02:12 +0200 |
---|---|---|
committer | Ruediger Meier | 2017-06-01 03:16:48 +0200 |
commit | c0d7b11a3fb01d1572e8467a905b76122d58c8b4 (patch) | |
tree | 480cd0ba12d8e3e7443763d483b38f404e471e1f /libblkid | |
parent | tests: avoid diff of diffs (diff) | |
download | kernel-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 'libblkid')
-rw-r--r-- | libblkid/samples/Makemodule.am | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libblkid/samples/Makemodule.am b/libblkid/samples/Makemodule.am index e14d13fec..dd05fc923 100644 --- a/libblkid/samples/Makemodule.am +++ b/libblkid/samples/Makemodule.am @@ -6,17 +6,17 @@ check_PROGRAMS += \ sample-topology sample_mkfs_SOURCES = libblkid/samples/mkfs.c -sample_mkfs_LDADD = $(LDADD) libblkid.la +sample_mkfs_LDADD = libblkid.la $(LDADD) sample_mkfs_CFLAGS = $(AM_CFLAGS) -I$(ul_libblkid_incdir) sample_partitions_SOURCES = libblkid/samples/partitions.c -sample_partitions_LDADD = $(LDADD) libblkid.la +sample_partitions_LDADD = libblkid.la $(LDADD) sample_partitions_CFLAGS = $(AM_CFLAGS) -I$(ul_libblkid_incdir) sample_superblocks_SOURCES = libblkid/samples/superblocks.c -sample_superblocks_LDADD = $(LDADD) libblkid.la +sample_superblocks_LDADD = libblkid.la $(LDADD) sample_superblocks_CFLAGS = $(AM_CFLAGS) -I$(ul_libblkid_incdir) sample_topology_SOURCES = libblkid/samples/topology.c -sample_topology_LDADD = $(LDADD) libblkid.la +sample_topology_LDADD = libblkid.la $(LDADD) sample_topology_CFLAGS = $(AM_CFLAGS) -I$(ul_libblkid_incdir) |