Browse Source

Merge pull request #3094 from kissg1988/seafile

seafile: add condition for -minterlink-mips16 cflag
lilik-openwrt-22.03
champtar 8 years ago
committed by GitHub
parent
commit
dc6c28b446
1 changed files with 5 additions and 2 deletions
  1. +5
    -2
      net/seafile-server/Makefile

+ 5
- 2
net/seafile-server/Makefile View File

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=seafile-server
PKG_VERSION:=5.1.1
PKG_RELEASE=$(PKG_SOURCE_VERSION)-6
PKG_RELEASE=$(PKG_SOURCE_VERSION)-7
PKG_LICENSE:=GPL-3.0
PKG_SOURCE_PROTO:=git
@ -72,7 +72,10 @@ endif
PKG_BUILD_DEPENDS:=vala/host libevhtp
TARGET_CFLAGS += -minterlink-mips16
# This is required as python-package.mk overrides the default setting of having interlinking enabled
ifdef CONFIG_USE_MIPS16
TARGET_CFLAGS += -minterlink-mips16
endif
TARGET_LDFLAGS += -Wl,-rpath-link=$(STAGING_DIR)/usr/lib -liconv \
-L$(STAGING_DIR)/usr/lib/mysql -lmysqlclient -lz -levent_openssl -levent


Loading…
Cancel
Save