|
@@ -22,13 +22,8 @@ GPTFDISK_DEPENDENCIES += ncurses
|
|
|
endif
|
|
|
|
|
|
ifeq ($(BR2_STATIC_LIBS),y)
|
|
|
-# gptfdisk dependencies may link against libintl/libiconv, so we need
|
|
|
-# to do so as well when linking statically
|
|
|
-ifeq ($(BR2_PACKAGE_GETTEXT),y)
|
|
|
-GPTFDISK_DEPENDENCIES += gettext
|
|
|
-GPTFDISK_LDLIBS += -lintl
|
|
|
-endif
|
|
|
-
|
|
|
+# gptfdisk dependencies may link against libiconv, so we need to do so
|
|
|
+# as well when linking statically
|
|
|
ifeq ($(BR2_PACKAGE_LIBICONV),y)
|
|
|
GPTFDISK_DEPENDENCIES += libiconv
|
|
|
GPTFDISK_LDLIBS += -liconv
|