[packages] make libintl and libiconv stub/full implementations switchable, use the new include/nls.mk infrastructure for it
[openwrt.org/packages.git] / multimedia / gstreamer / Makefile
blob:a/multimedia/gstreamer/Makefile -> blob:b/multimedia/gstreamer/Makefile
--- a/multimedia/gstreamer/Makefile
+++ b/multimedia/gstreamer/Makefile
@@ -21,6 +21,7 @@
 PKG_INSTALL:=1
 
 include $(INCLUDE_DIR)/package.mk
+include $(INCLUDE_DIR)/nls.mk
 
 define Package/gstreamer/Default
   CATEGORY:=Multimedia
@@ -95,8 +96,7 @@
 
 EXTRA_LDFLAGS+= \
 	-Wl,-rpath-link=$(STAGING_DIR)/usr/lib \
-	-L$(STAGING_DIR)/usr/lib/libintl/lib \
-	-L$(STAGING_DIR)/usr/lib/libiconv/lib
+	-L$(ICONV_PREFIX)/lib -L$(INTL_PREFIX)/lib
 
 define Build/InstallDev
 	$(INSTALL_DIR) $(1)/usr/include/gstreamer-$(GST_VERSION)

comments