summaryrefslogtreecommitdiffstats
path: root/package/ushare/ushare.mk
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavo@zacarias.com.ar>2012-05-03 03:25:37 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2012-05-03 22:02:18 +0200
commit7df3db6c90e4d82dada0daf27ac91262e6702dc3 (patch)
tree428bc24295de631dd2de2e15af7b92be5cfb09c1 /package/ushare/ushare.mk
parentb3b66fb8deb3f2fce02e268212fa53924c39e487 (diff)
downloadbuildroot-novena-7df3db6c90e4d82dada0daf27ac91262e6702dc3.tar.gz
buildroot-novena-7df3db6c90e4d82dada0daf27ac91262e6702dc3.zip
ushare: needs libintl if NLS is enabled
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/ushare/ushare.mk')
-rw-r--r--package/ushare/ushare.mk7
1 files changed, 6 insertions, 1 deletions
diff --git a/package/ushare/ushare.mk b/package/ushare/ushare.mk
index ac8cbc356..5421d8acd 100644
--- a/package/ushare/ushare.mk
+++ b/package/ushare/ushare.mk
@@ -9,6 +9,11 @@ USHARE_SOURCE = ushare-$(USHARE_VERSION).tar.bz2
USHARE_SITE = http://ushare.geexbox.org/releases
USHARE_DEPENDENCIES = host-pkg-config libupnp
+ifeq ($(BR2_NEEDS_GETTEXT_IF_LOCALE),y)
+USHARE_DEPENDENCIES += gettext libintl
+USHARE_LDFLAGS += -lintl
+endif
+
define USHARE_CONFIGURE_CMDS
(cd $(@D); \
$(TARGET_CONFIGURE_OPTS) \
@@ -19,7 +24,7 @@ define USHARE_CONFIGURE_CMDS
endef
define USHARE_BUILD_CMDS
- $(MAKE) -C $(@D)
+ $(MAKE) LDFLAGS="$(TARGET_LDFLAGS) $(USHARE_LDFLAGS)" -C $(@D)
endef
define USHARE_INSTALL_TARGET_CMDS