summaryrefslogtreecommitdiff
path: root/po
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2019-03-01 10:54:27 +0000
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2019-03-01 10:54:27 +0000
commit63c32295a004ab03cc7fc77f0b85ba3de2957fab (patch)
tree203540a91cd3b5ef6f7bb51195e7fe4e3a1637a0 /po
parent5aec938fbc47e3487fc89e53035a06fe4df3cd24 (diff)
downloadefl-63c32295a004ab03cc7fc77f0b85ba3de2957fab.tar.gz
efl po - change intl.h check to use compiles so cflags it respected
this fixes building on fbsd... (where CFLAGS will now work to find libintl.h)
Diffstat (limited to 'po')
-rw-r--r--po/meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/po/meson.build b/po/meson.build
index 68a4885e41..5135bb66b9 100644
--- a/po/meson.build
+++ b/po/meson.build
@@ -14,7 +14,7 @@ if get_option('nls')
config_h.set('HAVE_GETTEXT', '1')
config_h.set('ENABLE_NLS', '1')
intl = cc.find_library('intl', required : false)
- if cc.has_header('libintl.h', dependencies : intl) == false
+ if cc.compiles('#include <libintl.h>', dependencies : intl) == false
error('libintl.h not found')
endif
else