|
@@ -21,7 +21,16 @@ LIBUIO_CONF_ENV += MAKEINFO=true
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_ARGP_STANDALONE),y)
|
|
ifeq ($(BR2_PACKAGE_ARGP_STANDALONE),y)
|
|
LIBUIO_DEPENDENCIES += argp-standalone
|
|
LIBUIO_DEPENDENCIES += argp-standalone
|
|
-LIBUIO_CONF_ENV += LIBS="-largp"
|
|
|
|
|
|
+LIBUIO_LIBS += -largp
|
|
endif
|
|
endif
|
|
|
|
|
|
|
|
+# libuio pulls in libintl if needed, so ensure we also
|
|
|
|
+# link against it, otherwise static linking fails
|
|
|
|
+ifeq ($(BR2_NEEDS_GETTEXT_IF_LOCALE),y)
|
|
|
|
+LIBUIO_DEPENDENCIES += gettext
|
|
|
|
+LIBUIO_LIBS += -lintl
|
|
|
|
+endif
|
|
|
|
+
|
|
|
|
+LIBUIO_CONF_ENV += LIBS="$(LIBUIO_LIBS)"
|
|
|
|
+
|
|
$(eval $(autotools-package))
|
|
$(eval $(autotools-package))
|