summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
Diffstat (limited to 'packages')
-rw-r--r--packages/gpsd/gpsd.inc5
1 files changed, 5 insertions, 0 deletions
diff --git a/packages/gpsd/gpsd.inc b/packages/gpsd/gpsd.inc
index ffd314d2e8..b4601fedd5 100644
--- a/packages/gpsd/gpsd.inc
+++ b/packages/gpsd/gpsd.inc
@@ -19,6 +19,11 @@ INITSCRIPT_PARAMS = "defaults 35"
export LDFLAGS = "-L${STAGING_LIBDIR} -lm"
+do_compile_prepend() {
+ export BUILD_SYS="${BUILD_SYS}"
+ export HOST_SYS="${HOST_SYS}"
+}
+
do_stage() {
oe_libinstall -so -C ${S}/.libs libgps ${STAGING_LIBDIR}
install -m 0655 ${S}/libgps.la ${STAGING_LIBDIR}