From a74e79fef19486b0c231231045c97fcf0ae41358 Mon Sep 17 00:00:00 2001 From: "Carsten Haitzler (Rasterman)" Date: Fri, 1 Mar 2019 10:54:27 +0000 Subject: [PATCH] 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) --- po/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ', dependencies : intl) == false error('libintl.h not found') endif else -- 2.34.1