diff options
author | Chun-wei Fan <fanchunwei@src.gnome.org> | 2015-03-10 16:14:36 +0800 |
---|---|---|
committer | Chun-wei Fan <fanchunwei@src.gnome.org> | 2015-03-10 16:14:36 +0800 |
commit | 733a444109d7b4b0e64b61c4b7f6aa320e099f25 (patch) | |
tree | 1330037afe0160d6515b9cab5fe257bc49d42e74 /build | |
parent | 5a137d0b1a14f5bab6a09cbec8471557679d72f8 (diff) | |
download | gobject-introspection-733a444109d7b4b0e64b61c4b7f6aa320e099f25.tar.gz |
MSVC Builds: Define HAVE_CONFIG_H for Tests
We need to include config.h for the tests so that the test DLLs will be
built with the symbols/functions properly exported.
Diffstat (limited to 'build')
-rw-r--r-- | build/gi-tests-msvc.mak | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/build/gi-tests-msvc.mak b/build/gi-tests-msvc.mak index 8d25c12d..f44b3bc0 100644 --- a/build/gi-tests-msvc.mak +++ b/build/gi-tests-msvc.mak @@ -5,7 +5,7 @@ !include gi-build-common-msvc.mak BASE_GLIB_LIBS = gio-$(GLIB_APIVERSION).lib gobject-$(GLIB_APIVERSION).lib gmodule-$(GLIB_APIVERSION).lib glib-$(GLIB_APIVERSION).lib -CFLAGS = $(CFLAGS_ADD) /I.. /W3 /we4013 /FImsvc_recommended_pragmas.h +CFLAGS = $(CFLAGS_ADD) /I.. /W3 /we4013 /FImsvc_recommended_pragmas.h /DHAVE_CONFIG_H LDFLAGS = /link $(LDFLAGS_ARCH) $(BASE_GLIB_LIBS) LDFLAGS_DLL = /link $(LDFLAGS_ARCH) /DLL /out:$@ /implib:$*-$(GI_APIVERSION).lib $(BASE_GLIB_LIBS) |