diff options
author | Emil Velikov <[email protected]> | 2014-03-13 05:44:33 +0000 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2014-03-31 13:09:23 +0100 |
commit | d187a150d45cbf5bd3476eab49be5057382c2c86 (patch) | |
tree | 21d55b22990122812b5875f31cc1d09966fedc39 /src/glx | |
parent | 902dc61f886c0d719ce25894bbc8032ede0f409b (diff) |
automake: add -Wl,--no-undefined to all libraries
... apart from the dri drivers.
With this final change we can build mesa without fear that
the resulting libraries will have unresolved symbols.
Signed-off-by: Emil Velikov <[email protected]>
Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to 'src/glx')
-rw-r--r-- | src/glx/Makefile.am | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/glx/Makefile.am b/src/glx/Makefile.am index eb202403b67..0c99c0709d6 100644 --- a/src/glx/Makefile.am +++ b/src/glx/Makefile.am @@ -109,8 +109,10 @@ GL_LIBS = \ $(GL_LIB_DEPS) GL_LDFLAGS = \ + -no-undefined \ + -version-number 1:2 \ -Wl,-Bsymbolic \ - -version-number 1:2 -no-undefined + -Wl,--no-undefined lib@GL_LIB@_la_SOURCES = lib@GL_LIB@_la_LIBADD = $(GL_LIBS) |