summaryrefslogtreecommitdiff
path: root/meson.build
diff options
context:
space:
mode:
authorChun-wei Fan <fanchunwei@src.gnome.org>2020-08-26 15:37:51 +0800
committerChun-wei Fan <fanchunwei@src.gnome.org>2020-08-26 15:37:51 +0800
commit89ae260fb07bbcb28230921e12859c495c6f7bc9 (patch)
tree4f8b19a0ed3cb153acc614cda5ac312ead4f1993 /meson.build
parent050d89d5b0bb82e1202df7cb863f1f27f97226f5 (diff)
downloadpango-89ae260fb07bbcb28230921e12859c495c6f7bc9.tar.gz
meson.build: Fix check for msvc_recommended_pragmas.h
There was a typo when we checked whether force-including it would be supported. Fix that.
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/meson.build b/meson.build
index 9708f826..160a9152 100644
--- a/meson.build
+++ b/meson.build
@@ -57,7 +57,7 @@ common_ldflags = []
if cc.get_id() == 'msvc'
# Compiler options taken from msvc_recommended_pragmas.h
# in GLib, based on _Win32_Programming_ by Rector and Newcomer
- test_cflags = ['-FImsvc_recommended_pragmas', '-utf-8']
+ test_cflags = ['-FImsvc_recommended_pragmas.h', '-utf-8']
add_project_arguments(cc.get_supported_arguments(test_cflags), language: 'c')
test_c_only_flags = []
elif cc.get_id() == 'gcc' or cc.get_id() == 'clang'