meson: allow compilation in a subdirectory 11874/head
authorRosen Penev <rosenp@gmail.com>
Sat, 18 Apr 2020 07:01:28 +0000 (00:01 -0700)
committerRosen Penev <rosenp@gmail.com>
Sat, 18 Apr 2020 07:22:12 +0000 (00:22 -0700)
Small tweak to get it to build.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
devel/meson/Makefile
devel/meson/meson.mk

index b9af6f71c47fa23777836c8314c22f03fe50528f..7a4955facfe3382491cf0fcd3ab38a4a5fefd837 100644 (file)
@@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=meson
 PKG_VERSION:=0.54.0
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 
 PYPI_NAME:=meson
 PKG_HASH:=dde5726d778112acbd4a67bb3633ab2ee75d33d1e879a6283a7b4a44c3363c27
index 16c6b16685fed136d14435c93cf67d2910e38178..0a261ca64c80e534045e42c3d7890cc821440b60 100644 (file)
@@ -103,7 +103,7 @@ define Build/Configure/Meson
                --cross-file $(PKG_BUILD_DIR)/openwrt-cross.txt \
                $(MESON_ARGS) \
                $(MESON_BUILD_DIR) \
-               $(PKG_BUILD_DIR), \
+               $(MESON_BUILD_DIR)/.., \
                $(MESON_VARS))
 endef