mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-28 03:48:53 +02:00
Revert "build/gmodule-2.0.pc: Move compiler flags from Libs to Cflags"
This reverts commit 004f48f4fc
.
Per the discussion on #3356, this change was prompted by a
misunderstanding of ldflags/link_args, and it resulted in various other
packages using glib no longer getting symbols exported. This commit
restores the glib 2.76 behaviour.
This commit is contained in:
@@ -115,24 +115,22 @@ pkg.generate(libgmodule,
|
||||
description : 'Dynamic module loader for GLib',
|
||||
)
|
||||
|
||||
pkg.generate(libraries : [libgmodule],
|
||||
pkg.generate(libraries : [libgmodule, export_dynamic_ldflags],
|
||||
requires : ['glib-2.0'],
|
||||
version : glib_version,
|
||||
variables : [supported_var],
|
||||
install_dir : glib_pkgconfigreldir,
|
||||
filebase : 'gmodule-export-2.0',
|
||||
extra_cflags : export_dynamic_cflags,
|
||||
name : 'GModule',
|
||||
description : 'Dynamic module loader for GLib',
|
||||
)
|
||||
|
||||
pkg.generate(libraries : [libgmodule],
|
||||
pkg.generate(libraries : [libgmodule, export_dynamic_ldflags],
|
||||
requires : ['glib-2.0'],
|
||||
version : glib_version,
|
||||
variables : [supported_var],
|
||||
install_dir : glib_pkgconfigreldir,
|
||||
filebase : 'gmodule-2.0',
|
||||
extra_cflags : export_dynamic_cflags,
|
||||
name : 'GModule',
|
||||
description : 'Dynamic module loader for GLib',
|
||||
)
|
||||
|
Reference in New Issue
Block a user