mirror of
https://github.com/brl/mutter.git
synced 2025-08-02 22:54:44 +00:00
Use -Bsymbolic-functions
The -Bsymbolic-functions linker flag allows to avoid intra-library PLT jumps on ELF platforms. It is similar to the aliasing hack in GLib and GTK+, but definitely less messy. The configure script should look for the flags, in order to support platforms/linkers that do not have it.
This commit is contained in:
@@ -285,6 +285,7 @@ nodist_libclutter_@CLUTTER_SONAME_INFIX@_@CLUTTER_API_VERSION@_la_SOURCES = \
|
||||
$(built_source_h)
|
||||
|
||||
libclutter_@CLUTTER_SONAME_INFIX@_@CLUTTER_API_VERSION@_la_LDFLAGS = \
|
||||
$(CLUTTER_LINK_FLAGS) \
|
||||
$(CLUTTER_LT_LDFLAGS) \
|
||||
$(GCOV_LDFLAGS) \
|
||||
-export-dynamic \
|
||||
@@ -293,9 +294,7 @@ libclutter_@CLUTTER_SONAME_INFIX@_@CLUTTER_API_VERSION@_la_LDFLAGS = \
|
||||
$(win32_resources_ldflag) \
|
||||
$(NULL)
|
||||
|
||||
lib_LTLIBRARIES = $(CLUTTER_WINSYS_LIB)
|
||||
|
||||
EXTRA_LTLIBRARIES = libclutter-@CLUTTER_SONAME_INFIX@-@CLUTTER_API_VERSION@.la
|
||||
lib_LTLIBRARIES = libclutter-@CLUTTER_SONAME_INFIX@-@CLUTTER_API_VERSION@.la
|
||||
|
||||
clutterdir = $(includedir)/clutter-$(CLUTTER_API_VERSION)/clutter
|
||||
clutter_HEADERS = \
|
||||
|
Reference in New Issue
Block a user