mirror of
https://github.com/coolsnowwolf/packages.git
synced 2025-05-01 13:30:54 +08:00
beanstald: fix compilation under macOS
Makefile tests the host system, not what it compiles to. Override. Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
parent
a51cdadc06
commit
a19ac9f7ff
@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk
|
|||||||
|
|
||||||
PKG_NAME:=beanstalkd
|
PKG_NAME:=beanstalkd
|
||||||
PKG_VERSION:=1.9
|
PKG_VERSION:=1.9
|
||||||
PKG_RELEASE:=1
|
PKG_RELEASE:=2
|
||||||
|
|
||||||
# for now, build from latest commit since releases are infrequent and
|
# for now, build from latest commit since releases are infrequent and
|
||||||
# useful fixes trickle in...
|
# useful fixes trickle in...
|
||||||
@ -37,7 +37,7 @@ define Build/Configure
|
|||||||
endef
|
endef
|
||||||
|
|
||||||
define Build/Compile
|
define Build/Compile
|
||||||
cd $(PKG_BUILD_DIR) && make CC="$(TARGET_CC)" CFLAGS="$(TARGET_CFLAGS)" LDFLAGS="$(TARGET_LDFLAGS)" PREFIX=/usr
|
cd $(PKG_BUILD_DIR) && make CC="$(TARGET_CC)" CFLAGS="$(TARGET_CFLAGS)" LDFLAGS="$(TARGET_LDFLAGS)" PREFIX=/usr OS=linux
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/beanstalkd/install
|
define Package/beanstalkd/install
|
||||||
|
Loading…
Reference in New Issue
Block a user