summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--package/motion/motion.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/package/motion/motion.mk b/package/motion/motion.mk
index de29a2a8e2..cf9be7602a 100644
--- a/package/motion/motion.mk
+++ b/package/motion/motion.mk
@@ -54,6 +54,9 @@ endif
ifeq ($(BR2_PACKAGE_SDL),y)
MOTION_DEPENDENCIES += sdl
MOTION_CONF_OPTS += --with-sdl=$(STAGING_DIR)/usr
+# overwrite ac_cv_path_CONFIG_SDL in case sdl development is
+# installed on the host
+MOTION_CONF_ENV += ac_cv_path_CONFIG_SDL=$(STAGING_DIR)/usr/bin/sdl-config
else
MOTION_CONF_OPTS += --without-sdl
endif
OpenPOWER on IntegriCloud