From: Sergey V. Lobanov Date: Wed, 12 Jan 2022 13:25:40 +0000 (+0300) Subject: serdisplib: fix build on macos X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=d504cb206fdb49b64880ec9a9fc6c71ed92a4025;p=feed%2Fpackages.git serdisplib: fix build on macos ./configure script detects if serdisplib is built on non-linux build host and disables framebuffer driver. It blocks touchscreen_tool compilation. This detection is not required on cross-compile build so it is disabled via ac_cv_build=$(GNU_TARGET_NAME) in Makefile Signed-off-by: Sergey V. Lobanov --- diff --git a/libs/serdisplib/Makefile b/libs/serdisplib/Makefile index 07978d01ae..8b36a4a51c 100644 --- a/libs/serdisplib/Makefile +++ b/libs/serdisplib/Makefile @@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=serdisplib PKG_VERSION:=2.02 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=@SF/serdisplib @@ -51,6 +51,9 @@ define Package/serdisplib-tools/description * touchscreen_tool endef +CONFIGURE_VARS += \ + ac_cv_build=$(GNU_TARGET_NAME) + CONFIGURE_ARGS += \ --enable-dynloading \ --disable-statictools