From c0d7b11a3fb01d1572e8467a905b76122d58c8b4 Mon Sep 17 00:00:00 2001 From: Ruediger Meier Date: Wed, 31 May 2017 21:02:12 +0200 Subject: 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 --- libsmartcols/samples/Makemodule.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libsmartcols/samples') 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 -- cgit v1.2.3-55-g7522