blob: 8cca093d7cb4c026cb6608d29b0d952a9852b337 [file] [log] [blame]
From 3188ea9a9292604e537f06f11adddf474fc9e52d Mon Sep 17 00:00:00 2001
From: Karel Zak <kzak@redhat.com>
Date: Mon, 9 Apr 2018 12:11:36 +0200
Subject: [PATCH] build: Add missing -lintl linkage to lib{smartcols,uuid}
Addresses: https://github.com/karelzak/util-linux/pull/615
Signed-off-by: Karel Zak <kzak@redhat.com>
---
libsmartcols/src/Makemodule.am | 2 +-
libuuid/src/Makemodule.am | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/libsmartcols/src/Makemodule.am b/libsmartcols/src/Makemodule.am
index 664aca30b..665b2aa7f 100644
--- a/libsmartcols/src/Makemodule.am
+++ b/libsmartcols/src/Makemodule.am
@@ -19,7 +19,7 @@ libsmartcols_la_SOURCES= \
libsmartcols/src/version.c \
libsmartcols/src/init.c
-libsmartcols_la_LIBADD = libcommon.la
+libsmartcols_la_LIBADD = $(LDADD) libcommon.la
libsmartcols_la_CFLAGS = \
$(AM_CFLAGS) \
diff --git a/libuuid/src/Makemodule.am b/libuuid/src/Makemodule.am
index 5122622a5..e58fa261c 100644
--- a/libuuid/src/Makemodule.am
+++ b/libuuid/src/Makemodule.am
@@ -31,7 +31,7 @@ libuuid_la_SOURCES = \
EXTRA_libuuid_la_DEPENDENCIES = \
libuuid/src/libuuid.sym
-libuuid_la_LIBADD = $(SOCKET_LIBS)
+libuuid_la_LIBADD = $(LDADD) $(SOCKET_LIBS)
libuuid_la_CFLAGS = \
$(AM_CFLAGS) \