softpipe: fix texture view crashes
[mesa.git] / src / gallium / drivers / softpipe / Android.mk
index 5d3a93bcee450bd58607189ccfd92f0366da7702..7e879161090a1fd87e924314824a6311843cf151 100644 (file)
@@ -35,3 +35,8 @@ LOCAL_MODULE := libmesa_pipe_softpipe
 
 include $(GALLIUM_COMMON_MK)
 include $(BUILD_STATIC_LIBRARY)
+
+ifneq ($(HAVE_GALLIUM_SOFTPIPE),)
+GALLIUM_TARGET_DRIVERS += swrast kms_swrast
+$(eval GALLIUM_LIBS += $(LOCAL_MODULE) libmesa_winsys_sw_dri libmesa_winsys_sw_kms_dri)
+endif