mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-23 22:16:16 +01:00
gi-decompile-repository: Remove unused --shlib option
This seems to have been a remnant of support for embedding the typelib in the shared library, which was removed from this tool in commit4bf5ef6b
"[girepository] Actually verify header of loaded typelibs in g_irepository_require" (originally gobject-introspection@05ffd857). The feature of embedding the typelib in a shared library was itself removed in commitb2df59c3
"compiler: Remove --code argument", originally gobject-introspection@ac81f3e8, with a note that because we rely on being able to load the shared library into g-ir-scanner, anything that links g-ir-scanner output into the shared library would be a circular dependency. Signed-off-by: Simon McVittie <smcv@collabora.com>
This commit is contained in:
parent
d40e1b9db3
commit
4180a2069c
@ -36,7 +36,6 @@ int
|
||||
main (int argc, char *argv[])
|
||||
{
|
||||
GIRepository *repository = NULL;
|
||||
gboolean shlib = FALSE;
|
||||
gchar *output = NULL;
|
||||
gchar **includedirs = NULL;
|
||||
gboolean show_all = FALSE;
|
||||
@ -48,7 +47,6 @@ main (int argc, char *argv[])
|
||||
gint i;
|
||||
GOptionEntry options[] =
|
||||
{
|
||||
{ "shlib", 0, 0, G_OPTION_ARG_NONE, &shlib, "handle typelib embedded in shlib", NULL },
|
||||
{ "output", 'o', 0, G_OPTION_ARG_FILENAME, &output, "output file", "FILE" },
|
||||
{ "includedir", 0, 0, G_OPTION_ARG_FILENAME_ARRAY, &includedirs, "include directories in GIR search path", NULL },
|
||||
{ "all", 0, 0, G_OPTION_ARG_NONE, &show_all, "show all available information", NULL, },
|
||||
|
Loading…
Reference in New Issue
Block a user