* [Buildroot] [PATCH] ushare: needs libintl if NLS is enabled
@ 2012-05-03 13:25 Gustavo Zacarias
2012-05-03 20:02 ` Peter Korsgaard
0 siblings, 1 reply; 2+ messages in thread
From: Gustavo Zacarias @ 2012-05-03 13:25 UTC (permalink / raw)
To: buildroot
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
package/ushare/Config.in | 2 ++
package/ushare/ushare.mk | 7 ++++++-
2 files changed, 8 insertions(+), 1 deletions(-)
diff --git a/package/ushare/Config.in b/package/ushare/Config.in
index a714fa0..acf025f 100644
--- a/package/ushare/Config.in
+++ b/package/ushare/Config.in
@@ -2,6 +2,8 @@ config BR2_PACKAGE_USHARE
bool "ushare"
depends on BR2_LARGEFILE
select BR2_PACKAGE_LIBUPNP
+ select BR2_PACKAGE_GETTEXT if BR2_NEEDS_GETTEXT_IF_LOCALE
+ select BR2_PACKAGE_LIBINTL if BR2_NEEDS_GETTEXT_IF_LOCALE
help
uShare is a UPnP (TM) A/V & DLNA Media Server.
It implements the server component that provides UPnP media devices
diff --git a/package/ushare/ushare.mk b/package/ushare/ushare.mk
index ac8cbc3..5421d8a 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
--
1.7.3.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [Buildroot] [PATCH] ushare: needs libintl if NLS is enabled
2012-05-03 13:25 [Buildroot] [PATCH] ushare: needs libintl if NLS is enabled Gustavo Zacarias
@ 2012-05-03 20:02 ` Peter Korsgaard
0 siblings, 0 replies; 2+ messages in thread
From: Peter Korsgaard @ 2012-05-03 20:02 UTC (permalink / raw)
To: buildroot
>>>>> "Gustavo" == Gustavo Zacarias <gustavo@zacarias.com.ar> writes:
Gustavo> Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Committed, thanks.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-05-03 20:02 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-03 13:25 [Buildroot] [PATCH] ushare: needs libintl if NLS is enabled Gustavo Zacarias
2012-05-03 20:02 ` Peter Korsgaard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox