|
@@ -9,7 +9,7 @@ MOTION_SITE = $(call github,Motion-Project,motion,$(MOTION_VERSION))
|
|
MOTION_LICENSE = GPLv2
|
|
MOTION_LICENSE = GPLv2
|
|
MOTION_LICENSE_FILES = COPYING
|
|
MOTION_LICENSE_FILES = COPYING
|
|
MOTION_DEPENDENCIES = host-pkgconf jpeg
|
|
MOTION_DEPENDENCIES = host-pkgconf jpeg
|
|
-# From git
|
|
|
|
|
|
+# From git and patched configure.ac
|
|
MOTION_AUTORECONF = YES
|
|
MOTION_AUTORECONF = YES
|
|
|
|
|
|
# motion does not use any specific function of jpeg-turbo, so just relies on
|
|
# motion does not use any specific function of jpeg-turbo, so just relies on
|
|
@@ -29,6 +29,10 @@ MOTION_CONF_OPTS += \
|
|
--with-mysql \
|
|
--with-mysql \
|
|
--with-mysql-include=$(STAGING_DIR)/usr/include/mysql \
|
|
--with-mysql-include=$(STAGING_DIR)/usr/include/mysql \
|
|
--with-mysql-lib=$(STAGING_DIR)/usr/lib
|
|
--with-mysql-lib=$(STAGING_DIR)/usr/lib
|
|
|
|
+# static link of mysql needs -lz
|
|
|
|
+ifeq ($(BR2_STATIC_LIBS)$(BR2_PACKAGE_ZLIB),yy)
|
|
|
|
+MOTION_CONF_ENV += LIBS="-lz"
|
|
|
|
+endif
|
|
else
|
|
else
|
|
MOTION_CONF_OPTS += --without-mysql
|
|
MOTION_CONF_OPTS += --without-mysql
|
|
endif
|
|
endif
|