diff options
Diffstat (limited to 'gobject/Makefile.am')
| -rw-r--r-- | gobject/Makefile.am | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gobject/Makefile.am b/gobject/Makefile.am index a3e5e87..286626f 100644 --- a/gobject/Makefile.am +++ b/gobject/Makefile.am @@ -13,6 +13,7 @@ if PLATFORM_WIN32 common_ldflags += -no-undefined endif +gobject_la_CFLAGS = $(GLIB_CFLAGS) gobject_la_LDFLAGS = $(common_ldflags) -export-symbols-regex initgobject gobject_la_LIBADD = $(GLIB_LIBS) gobject_la_SOURCES = \ @@ -28,3 +29,7 @@ gobject_la_SOURCES = \ pygparamspec.c \ pygpointer.c \ pygtype.c + +if PLATFORM_WIN32 +gobject_la_CFLAGS += -DPLATFORM_WIN32 +endif |
