diff options
Diffstat (limited to 'src/gallium/drivers/r600/Android.mk')
-rw-r--r-- | src/gallium/drivers/r600/Android.mk | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/gallium/drivers/r600/Android.mk b/src/gallium/drivers/r600/Android.mk index cc89d8f6aed..26c00f6ccd9 100644 --- a/src/gallium/drivers/r600/Android.mk +++ b/src/gallium/drivers/r600/Android.mk @@ -31,8 +31,17 @@ include $(CLEAR_VARS) LOCAL_SRC_FILES := $(C_SOURCES) $(CXX_SOURCES) LOCAL_STATIC_LIBRARIES := libmesa_amd_common + LOCAL_SHARED_LIBRARIES := libdrm_radeon LOCAL_MODULE := libmesa_pipe_r600 include $(GALLIUM_COMMON_MK) include $(BUILD_STATIC_LIBRARY) + +ifneq ($(HAVE_GALLIUM_R600),) +$(eval GALLIUM_LIBS += \ + $(LOCAL_MODULE) \ + $(LOCAL_STATIC_LIBRARIES) \ + libmesa_winsys_radeon) +$(eval GALLIUM_SHARED_LIBS += $(LOCAL_SHARED_LIBRARIES)) +endif |