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)
devs/q66/eolian-beta-types
Carsten Haitzler 5 years ago
parent 5aec938fbc
commit 63c32295a0
  1. 2
      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

Loading…
Cancel
Save