Commit ca6bbfd7 authored by Benjamin Franzke's avatar Benjamin Franzke 😀
Browse files

gbm: link 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/ undefined
symbol: powf

(Based on Kristóf RALOVICHs patch and Ian's suggestions in
parent eeed782e
......@@ -15,7 +15,7 @@ GBM_INCLUDES = \
-I$(TOP)/src/gallium/auxiliary \
-I$(TOP)/src/gallium/include \
$(TOP)/src/gallium/state_trackers/gbm/libgbm.a \
$(TOP)/src/gallium/drivers/identity/libidentity.a \
$(TOP)/src/gallium/drivers/galahad/libgalahad.a \
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment