gbm: link gbm_gallium_drm.so against math library
authorBenjamin Franzke <benjaminfranzke@googlemail.com>
Thu, 4 Aug 2011 11:37:42 +0000 (13:37 +0200)
committerBenjamin Franzke <benjaminfranzke@googlemail.com>
Thu, 4 Aug 2011 12:09:34 +0000 (14:09 +0200)
commitca6bbfd76960731926c99d0b6257b42344596794
tree14ce26313d07dd0d6c8b2fb346b4c84fa2ebc613
parenteeed782ecb9fa92a958cb650c0a5a536556dc611
gbm: link gbm_gallium_drm.so against math library

This avoids the following runtime error with EGL on platforms that
require linking with libm for nontrivial math functions:

failed to load module: /xorg/lib64/gbm/gbm_gallium_drm.so: undefined
symbol: powf

(Based on Kristóf RALOVICHs patch and Ian's suggestions in
http://lists.freedesktop.org/archives/mesa-dev/2011-August/010036.html)
src/gallium/targets/gbm/Makefile