localize: try to fix different path to iso tab

Origin commit data
------------------
Commit: 3c859db7c4
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-12-06 (Wed, 06 Dec 2017)
This commit is contained in:
2017-12-06 10:42:05 +01:00
parent 7a1ca16d2f
commit a9881b3636
2 changed files with 4 additions and 2 deletions

View File

@@ -1,4 +1,4 @@
installdir = $(datadir)/iso-codes
installdir = $(DATADIR)/iso-codes
install_DATA = \
iso-639.tab

View File

@@ -48,8 +48,10 @@
#include <sys/stat.h>
#include <unistd.h>
#define ISO_639_TAB DATADIR "/iso-codes/iso-639.tab"
//static const char * iso639filename = "/usr/share/iso-codes/iso-639.tab";
static const char * iso639filename = "/share/iso-codes/iso-639.tab";
//static const char * iso639filename = "/share/iso-codes/iso-639.tab";
static const char * iso639filename = ISO_639_TAB;
#define DEFAULT_LOCALE "english"