mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 11:26:16 +01:00
Merge branch 'ebassi/static-docs' into 'main'
Build API docs only with shared libraries See merge request GNOME/glib!2896
This commit is contained in:
commit
41d1cd02a0
@ -49,6 +49,12 @@ if get_option('gtk_doc')
|
||||
default_options : ['tests=false'])
|
||||
endif
|
||||
|
||||
# We cannot built the API reference off of a static library,
|
||||
# as symbols might get dropped by the linker
|
||||
if get_option('gtk_doc') and get_option('default_library') == 'static'
|
||||
error('The API reference can only be built against a shared library')
|
||||
endif
|
||||
|
||||
subdir('gio')
|
||||
subdir('glib')
|
||||
subdir('gobject')
|
||||
|
Loading…
Reference in New Issue
Block a user