mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 15:38:40 +01:00
libmraa: don't set SWIG_DIR
CMake 3.0.12 uses SWIG_DIR to set SWIG_LIB, is used as the library install location, which defaults to $(STAGING_HOSTPKG)/share/sig/(SWIGVERSION). If it is set, then the installed swig library directory is ignored, and compilation fails: [ 32%] Swig source :1: Error: Unable to find 'swig.swg' :3: Error: Unable to find 'python.swg' Instead of setting it manually, let the default be used, which works well. Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
This commit is contained in:
@@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk
|
|||||||
PKG_NAME:=libmraa
|
PKG_NAME:=libmraa
|
||||||
PKG_VERSION:=0.9.0
|
PKG_VERSION:=0.9.0
|
||||||
|
|
||||||
PKG_RELEASE=$(PKG_SOURCE_VERSION)
|
PKG_RELEASE=$(PKG_SOURCE_VERSION)-1
|
||||||
|
|
||||||
PKG_SOURCE_PROTO:=git
|
PKG_SOURCE_PROTO:=git
|
||||||
PKG_SOURCE_URL:=https://github.com/intel-iot-devkit/mraa.git
|
PKG_SOURCE_URL:=https://github.com/intel-iot-devkit/mraa.git
|
||||||
@@ -29,8 +29,7 @@ include $(INCLUDE_DIR)/cmake.mk
|
|||||||
|
|
||||||
CMAKE_OPTIONS=-DBUILDARCH=$(CONFIG_ARCH) \
|
CMAKE_OPTIONS=-DBUILDARCH=$(CONFIG_ARCH) \
|
||||||
-DENABLEEXAMPLES=0 \
|
-DENABLEEXAMPLES=0 \
|
||||||
-DNODE_EXECUTABLE=$(STAGING_DIR_HOSTPKG)/bin/node \
|
-DNODE_EXECUTABLE=$(STAGING_DIR_HOSTPKG)/bin/node
|
||||||
-DSWIG_DIR=$(STAGING_DIR_HOSTPKG)/bin
|
|
||||||
|
|
||||||
TARGET_CFLAGS+=-I$(STAGING_DIR)/usr/include/node
|
TARGET_CFLAGS+=-I$(STAGING_DIR)/usr/include/node
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user