summaryrefslogtreecommitdiff
path: root/gtk/language-names.c
diff options
context:
space:
mode:
authorTing-Wei Lan <lantw@src.gnome.org>2018-01-07 03:39:22 +0800
committerTing-Wei Lan <lantw@src.gnome.org>2018-01-07 14:53:41 +0800
commit14b181ebd4c5851dc51cb468721c502addaec36c (patch)
tree99bae2b03148a4fabb0a10b0afd218104f803d6e /gtk/language-names.c
parent3771c95c72d591d3ed6ecf143fa85e1fea0a3d11 (diff)
downloadgtk+-14b181ebd4c5851dc51cb468721c502addaec36c.tar.gz
build: Use pkg-config to find iso-codes
Instead of hard-coding the path of iso-codes, we can get the prefix with pkg-config. We still fallback to /usr when it is not available. https://bugzilla.gnome.org/show_bug.cgi?id=792282
Diffstat (limited to 'gtk/language-names.c')
-rw-r--r--gtk/language-names.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/gtk/language-names.c b/gtk/language-names.c
index 2d433cff06..0c0076bbd8 100644
--- a/gtk/language-names.c
+++ b/gtk/language-names.c
@@ -17,7 +17,6 @@
#include "language-names.h"
-#define ISO_CODES_PREFIX "/usr"
#define ISO_CODES_DATADIR ISO_CODES_PREFIX "/share/xml/iso-codes"
#define ISO_CODES_LOCALESDIR ISO_CODES_PREFIX "/share/locale"