gpsd: fix compilation under some setups
authorRosen Penev <rosenp@gmail.com>
Tue, 1 Dec 2020 01:48:22 +0000 (17:48 -0800)
committerRosen Penev <rosenp@gmail.com>
Tue, 1 Dec 2020 01:48:22 +0000 (17:48 -0800)
Some commit in base broke compilation. Adding sysroot fixes it.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
utils/gpsd/Makefile

index 53428613c0bfa1b9d0bcd4e14a378f306fa06886..083a22b4cf2746b9cadde017dd8ac5620325ecf2 100644 (file)
@@ -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