1
0
mirror of git://projects.qi-hardware.com/openwrt-packages.git synced 2025-04-21 12:27:27 +03:00

plplot: fix compile problem on ubuntu 10.10 hosts (host's libm not found)

This commit is contained in:
David Kühling
2011-05-26 23:43:23 +02:00
parent c0d17b1b4b
commit 54cdac86d6
3 changed files with 21 additions and 4 deletions

View File

@@ -28,7 +28,8 @@ include $(INCLUDE_DIR)/package.mk
CMAKE_HOST_FLAGS=-DCMAKE_INSTALL_PREFIX=/usr \
-DDEFAULT_NO_DEVICES=ON \
-DPKG_CONFIG_EXECUTABLE=Not-Found -DDEFAULT_NO_BINDINGS=ON
-DPKG_CONFIG_EXECUTABLE=Not-Found -DDEFAULT_NO_BINDINGS=ON \
-DCMAKE_EXE_LINKER_FLAGS=-lm
## Need host-compiled plplot build dir for cmake to work for the target
define Host/Configure
@@ -44,7 +45,7 @@ endef
define Host/Compile
$(if $(CONFIG_PACKAGE_plplot-octave),$(Host/Compile/Octave),)
$(MAKE) -C $(HOST_BUILD_DIR)/build_dir VERBOSE=1 -j4
$(MAKE) -C $(HOST_BUILD_DIR)/build_dir VERBOSE=1 -j4
endef
define Host/Install/Octave