Makefile tests the host system, not what it compiles to. Override.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
PKG_NAME:=beanstalkd
PKG_VERSION:=1.9
PKG_NAME:=beanstalkd
PKG_VERSION:=1.9
# for now, build from latest commit since releases are infrequent and
# useful fixes trickle in...
# for now, build from latest commit since releases are infrequent and
# useful fixes trickle in...
endef
define Build/Compile
endef
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
define Package/beanstalkd/install
endef
define Package/beanstalkd/install