From: Rosen Penev Date: Tue, 1 Dec 2020 01:48:22 +0000 (-0800) Subject: gpsd: fix compilation under some setups X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=0162cc3469bea8c25b52935d922009abe43d67f7;p=openwrt-packages.git gpsd: fix compilation under some setups Some commit in base broke compilation. Adding sysroot fixes it. Signed-off-by: Rosen Penev --- diff --git a/utils/gpsd/Makefile b/utils/gpsd/Makefile index 53428613c..083a22b4c 100644 --- a/utils/gpsd/Makefile +++ b/utils/gpsd/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=gpsd PKG_VERSION:=3.21 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz PKG_SOURCE_URL:=@SAVANNAH/$(PKG_NAME) @@ -104,6 +104,7 @@ SCONS_OPTIONS += \ implicit_link=no \ chrpath=no \ manbuild=no \ + sysroot="$(STAGING_DIR)" \ target="$(TARGET_CROSS:-=)" define Build/InstallDev