localize: try to fix different path to iso tab

Origin commit data
------------------
Branch: ni/coolstream
Commit: 3c859db7c4
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-12-06 (Wed, 06 Dec 2017)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
2017-12-06 10:42:05 +01:00
parent 4630dc55d5
commit ff16cbbeb4
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"