mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-06 04:30:10 +01:00
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)
This commit is contained in:
parent
eeed782ecb
commit
ca6bbfd769
1 changed files with 1 additions and 1 deletions
|
|
@ -15,7 +15,7 @@ GBM_INCLUDES = \
|
|||
-I$(TOP)/src/gallium/auxiliary \
|
||||
-I$(TOP)/src/gallium/include \
|
||||
|
||||
GBM_LIBS = $(LIBUDEV_LIBS) $(LIBDRM_LIB) \
|
||||
GBM_LIBS = $(LIBUDEV_LIBS) $(LIBDRM_LIB) -lm \
|
||||
$(TOP)/src/gallium/state_trackers/gbm/libgbm.a \
|
||||
$(TOP)/src/gallium/drivers/identity/libidentity.a \
|
||||
$(TOP)/src/gallium/drivers/galahad/libgalahad.a \
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue