mirror of
https://github.com/coolsnowwolf/packages
synced 2025-01-08 11:17:36 +08:00
Merge pull request #757 from ywt114/patch-1
xupnpd: fix compilation with musl 1.2.4
This commit is contained in:
commit
881c0be6f4
@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk
|
||||
PKG_NAME:=xupnpd
|
||||
PKG_REV:=e4e542d9b6d0043d470fda283e2cd325bbb91950
|
||||
PKG_VERSION:=2018-11-20
|
||||
PKG_RELEASE:=1
|
||||
PKG_RELEASE:=2
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||
PKG_SOURCE_URL:=https://codeload.github.com/clark15b/xupnpd/tar.gz/$(PKG_REV)?
|
||||
@ -26,6 +26,10 @@ include $(INCLUDE_DIR)/package.mk
|
||||
|
||||
LUA_FLAGS:=-llua -lssl -lcrypto
|
||||
|
||||
ifneq ($(CONFIG_USE_MUSL),)
|
||||
TARGET_CFLAGS += -D_LARGEFILE64_SOURCE
|
||||
endif
|
||||
|
||||
define Build/Compile
|
||||
(cd $(PKG_BUILD_DIR)/src; $(TARGET_CC) -v $(LUA_FLAGS) $(TARGET_CFLAGS) -fno-exceptions -fno-rtti -DWITH_URANDOM $(TARGET_CPPFLAGS) $(TARGET_LDFLAGS) -lm -ldl -lcrypt -o xupnpd *.c *.cpp)
|
||||
endef
|
||||
|
Loading…
Reference in New Issue
Block a user