Probably depending on compiler settings, the definition can be hidden, so undefined reference error can be encountred during linking
https://bugs.freedesktop.org/show_bug.cgi?id=75528 --- src/gbm/main/gbm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gbm/main/gbm.c b/src/gbm/main/gbm.c index 7a4e406..b057386 100644 --- a/src/gbm/main/gbm.c +++ b/src/gbm/main/gbm.c @@ -81,7 +81,7 @@ gbm_device_get_backend_name(struct gbm_device *gbm) * * \sa enum gbm_bo_format for the list of formats */ -int +GBM_EXPORT int gbm_device_is_format_supported(struct gbm_device *gbm, uint32_t format, uint32_t usage) { -- 1.8.4.2 _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev