2
1
Эх сурвалжийг харах

util-linux: fix libintl linking if present

The configure script correctly detects presence of libintl, but it forgets
to link against it, breaking the build.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Peter Korsgaard 14 жил өмнө
parent
commit
a8273c4272

+ 4 - 0
package/util-linux/util-linux.mk

@@ -25,6 +25,10 @@ else
 UTIL_LINUX_CONF_OPT += --without-ncurses
 endif
 
+ifeq ($(BR2_PACKAGE_LIBINTL),y)
+UTIL_LINUX_DEPENDENCIES += libintl
+UTIL_LINUX_MAKE_OPT += LIBS=-lintl
+endif
 
 #############################################
 #