mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-02 07:23:41 +02:00
Use "-module" when compiling loadable modules
Some platforms use different extensions for compile-time linkable libraries vs runtime-loadable modules. Need to use special libtool flag in the latter case for consistency with what gmodule expects. https://bugzilla.gnome.org/show_bug.cgi?id=731703
This commit is contained in:
committed by
Philip Withnall
parent
22700faf88
commit
f7a14fece4
@@ -34,8 +34,8 @@ endif
|
||||
|
||||
libtestmodulea_la_SOURCES = test-module-a.c symbol-visibility.h
|
||||
libtestmodulea_la_LIBADD = $(LDADD)
|
||||
libtestmodulea_la_LDFLAGS = $(LDFLAGS) -no-undefined -avoid-version $(rpath_hack)
|
||||
libtestmodulea_la_LDFLAGS = $(LDFLAGS) -module -no-undefined -avoid-version $(rpath_hack)
|
||||
|
||||
libtestmoduleb_la_SOURCES = test-module-b.c symbol-visibility.h
|
||||
libtestmoduleb_la_LIBADD = $(LDADD)
|
||||
libtestmoduleb_la_LDFLAGS =$(LDFLAGS) -no-undefined -avoid-version $(rpath_hack)
|
||||
libtestmoduleb_la_LDFLAGS =$(LDFLAGS) -module -no-undefined -avoid-version $(rpath_hack)
|
||||
|
Reference in New Issue
Block a user