]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
cldr-plurals: Fix --enable-relocatable compilation
authorVáclav Slavík <vaclav@slavik.io>
Tue, 21 Jul 2015 11:00:32 +0000 (13:00 +0200)
committerDaiki Ueno <ueno@gnu.org>
Tue, 21 Jul 2015 12:57:48 +0000 (21:57 +0900)
Compilation of the cldr-plurals tool was broken in the relocatable case
because of missing CPPFLAGS/LDFLAGS.  Add the same flags used by other
tools to the makefile.
* gettext-tools/src/Makefile.am (cldr_plurals_CPPFLAGS)
(cldr_plurals_LDFLAGS): Adjust for --enable-relocatable
compilation.

gettext-tools/src/ChangeLog
gettext-tools/src/Makefile.am

index 668550513db0a4d9a62ca92703c8f437323fe152..2731e6fbe922586b7c7f20f6fc8da2e0d7af4d69 100644 (file)
@@ -1,3 +1,13 @@
+2015-07-21  Václav Slavík  <vaclav@slavik.io>  (tiny change)
+
+       cldr-plurals: Fix --enable-relocatable compilation
+       Compilation of the cldr-plurals tool was broken in the relocatable
+       case because of missing CPPFLAGS/LDFLAGS.  Add the same flags used
+       by other tools to the makefile.
+       * Makefile.am (cldr_plurals_CPPFLAGS)
+       (cldr_plurals_LDFLAGS): Adjust for --enable-relocatable
+       compilation.
+
 2015-07-10  Daiki Ueno  <ueno@gnu.org>
 
        * gettext 0.19.5 released.
index 4d610180eed747e55c9b7834ff122c1537a98d89..7b1b9982ca7e6e82063f81691f7f418e48c63861 100644 (file)
@@ -333,6 +333,7 @@ msguniq_CPPFLAGS = $(AM_CPPFLAGS) -DINSTALLDIR=\"$(bindir)\"
 recode_sr_latin_CPPFLAGS = $(AM_CPPFLAGS) -DINSTALLDIR=\"$(bindir)\"
 hostname_CPPFLAGS = $(AM_CPPFLAGS) -DINSTALLDIR=\"$(pkglibdir)\"
 urlget_CPPFLAGS = $(AM_CPPFLAGS) -DINSTALLDIR=\"$(pkglibdir)\"
+cldr_plurals_CPPFLAGS = $(AM_CPPFLAGS) -DINSTALLDIR=\"$(pkglibdir)\"
 if RELOCATABLE_VIA_LD
 msgcmp_LDFLAGS = `$(RELOCATABLE_LDFLAGS) $(bindir)`
 msgfmt_LDFLAGS = `$(RELOCATABLE_LDFLAGS) $(bindir)`
@@ -352,6 +353,7 @@ msguniq_LDFLAGS = `$(RELOCATABLE_LDFLAGS) $(bindir)`
 recode_sr_latin_LDFLAGS = `$(RELOCATABLE_LDFLAGS) $(bindir)`
 hostname_LDFLAGS = `$(RELOCATABLE_LDFLAGS) $(pkglibdir)`
 urlget_LDFLAGS = `$(RELOCATABLE_LDFLAGS) $(pkglibdir)`
+cldr_plurals_LDFLAGS = `$(RELOCATABLE_LDFLAGS) $(pkglibdir)`
 endif
 
 # Linking with C++ libraries is needed _only_ on mingw and Cygwin.