[glom] Statically link to libgettextpo on Maemo



commit 9323198236efa0e7bc212aa1b6780a4b84b83f82
Author: David King <davidk openismus com>
Date:   Wed Nov 4 16:26:36 2009 +0100

    Statically link to libgettextpo on Maemo
    
    * Makefile_glom.am: Statically link to libgettextpo on Maemo, as
    Gettext is available in the SDK and autobuilder but not on the device.

 ChangeLog        |    5 +++++
 Makefile_glom.am |    7 ++++++-
 2 files changed, 11 insertions(+), 1 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 69ea7db..c9e48e4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2009-11-04  David King  <davidk openismus com>
+
+	* Makefile_glom.am: Statically link to libgettextpo on Maemo, as
+	Gettext is available in the SDK and autobuilder but not on the device.
+
 1.12.3:
 
 2009-10-30  Murray Cumming  <murrayc murrayc com>
diff --git a/Makefile_glom.am b/Makefile_glom.am
index 72dbcb5..4eefaa0 100644
--- a/Makefile_glom.am
+++ b/Makefile_glom.am
@@ -351,7 +351,12 @@ glom_glom_LDADD = $(win_resfile) \
 	glom/utility_widgets/egg/toolpalette/libeggtoolpalette.a \
 	glom/utility_widgets/egg/util/libeggutil.a \
 	glom/libglom/libglom-$(GLOM_ABI_VERSION).la \
-	$(GLOM_LIBS) $(PYTHON_LIBS) $(INTLLIBS) -lgettextpo
+	$(GLOM_LIBS) $(PYTHON_LIBS) $(INTLLIBS)
+if GLOM_ENABLE_MAEMO
+glom_glom_LDADD += /usr/lib/libgettextpo.a
+else
+glom_glom_LDADD += -lgettextpo
+endif
 
 if HOST_WIN32
 # Suppress console window



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]