forked from AuroraMiddleware/gtk
build: Fix building with the gold linker by referencing gmodule-2.0
With the binutils-gold linker the '--no-copy-dt-needed-entries' flag is active by default and using any symbol from indirectly loaded libraries will result in undefined reference errors. https://bugzilla.gnome.org/show_bug.cgi?id=692810
This commit is contained in:
parent
5ada51d3c7
commit
65ea14d421
@ -51,6 +51,7 @@ INCLUDES = \
|
||||
-DGTK_DISABLE_DEPRECATED \
|
||||
-DGTK_FILE_SYSTEM_ENABLE_UNSUPPORTED \
|
||||
-DGTK_PRINT_BACKEND_ENABLE_UNSUPPORTED \
|
||||
$(GMODULE_CFLAGS) \
|
||||
$(GTK_DEBUG_FLAGS) \
|
||||
$(GTK_DEP_CFLAGS) \
|
||||
$(INCLUDED_IMMODULE_DEFINE)
|
||||
@ -120,6 +121,7 @@ endif
|
||||
libgtkincludedir = $(includedir)/gtk-2.0/gtk
|
||||
libadd = \
|
||||
$(top_builddir)/gdk/$(gdktargetlib) \
|
||||
$(GMODULE_LIBS) \
|
||||
$(GTK_DEP_LIBS)
|
||||
deps =
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user