mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-04-01 21:33:09 +02:00
Fix build with introspection on Windows
This commit is contained in:
parent
b3abf56ced
commit
f7c4825d91
@ -145,19 +145,23 @@ endif
|
|||||||
|
|
||||||
glib_headers = files(
|
glib_headers = files(
|
||||||
'glib.h',
|
'glib.h',
|
||||||
'glib-unix.h',
|
|
||||||
'glib-object.h',
|
'glib-object.h',
|
||||||
)
|
)
|
||||||
|
if host_system != 'windows'
|
||||||
|
glib_headers += files('glib-unix.h')
|
||||||
|
endif
|
||||||
install_headers(glib_headers, install_dir : glib_includedir)
|
install_headers(glib_headers, install_dir : glib_includedir)
|
||||||
|
|
||||||
|
if host_system != 'windows'
|
||||||
|
# Expose as variable to be used by gobject-introspection
|
||||||
|
# when it includes GLib as a subproject
|
||||||
|
glib_unix_h = files('glib-unix.h')
|
||||||
|
endif
|
||||||
|
|
||||||
if host_system == 'windows'
|
if host_system == 'windows'
|
||||||
install_headers([ 'msvc_recommended_pragmas.h' ], install_dir : glib_includedir)
|
install_headers([ 'msvc_recommended_pragmas.h' ], install_dir : glib_includedir)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# Expose as variable to be used by gobject-introspection
|
|
||||||
# when it includes GLib as a subproject
|
|
||||||
glib_unix_h = files('glib-unix.h')
|
|
||||||
|
|
||||||
glib_deprecated_headers = files(
|
glib_deprecated_headers = files(
|
||||||
'deprecated/gallocator.h',
|
'deprecated/gallocator.h',
|
||||||
'deprecated/gcache.h',
|
'deprecated/gcache.h',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user