diff options
author | José Fonseca <jfonseca@vmware.com> | 2013-07-19 13:08:07 +0100 |
---|---|---|
committer | José Fonseca <jfonseca@vmware.com> | 2013-07-19 13:08:07 +0100 |
commit | 719000bd7d7d227a721ee24ea49a55ab9a972b56 (patch) | |
tree | 44d23fa8cd7347d786d91c596a7aa4bc27622651 /src/mesa/drivers/x11 | |
parent | 9f07ca11c1797ac12de1e1c6aef13cf58824b5f5 (diff) | |
download | external_mesa3d-719000bd7d7d227a721ee24ea49a55ab9a972b56.zip external_mesa3d-719000bd7d7d227a721ee24ea49a55ab9a972b56.tar.gz external_mesa3d-719000bd7d7d227a721ee24ea49a55ab9a972b56.tar.bz2 |
scons: Disallow undefined symbols in Xlib libGL.so.
It's not the first time that, due to missing build dependencies or
incomplete commits, we end up with a broken libGL.so that's missing
symbols, causing all tests to fail catastrophically.
Instead try to catch this sort of issues earlier.
Diffstat (limited to 'src/mesa/drivers/x11')
-rw-r--r-- | src/mesa/drivers/x11/SConscript | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/drivers/x11/SConscript b/src/mesa/drivers/x11/SConscript index b0173be..5295232 100644 --- a/src/mesa/drivers/x11/SConscript +++ b/src/mesa/drivers/x11/SConscript @@ -31,6 +31,9 @@ sources = [ 'xm_tri.c', ] +# Disallow undefined symbols +env.Append(SHLINKFLAGS = ['-Wl,-z,defs']) + # libGL.so.1.6 libgl_1_6 = env.SharedLibrary( target ='GL', |