Community maintained packages for ImmortalWrt.
Révision | afdcac905108c37fb84ea09d60dabe7a7f6ef09b (tree) |
---|---|
l'heure | 2022-05-26 13:46:42 |
Auteur | Tianling Shen <cnsztl@immo...> |
Commiter | Tianling Shen |
ipt2socks: fix build for arc
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
(cherry picked from commit f7f442a8392a5890269d32cc190ea0c7d564f76f)
@@ -25,6 +25,7 @@ define Package/ipt2socks | ||
25 | 25 | CATEGORY:=Network |
26 | 26 | TITLE:=Convert iptables to socks5 |
27 | 27 | URL:=https://github.com/zfl9/ipt2socks |
28 | + DEPENDS:=+libpthread | |
28 | 29 | endef |
29 | 30 | |
30 | 31 | define Package/ipt2socks/description |
@@ -33,7 +34,7 @@ endef | ||
33 | 34 | |
34 | 35 | TARGET_CFLAGS+= $(FPIC) -flto |
35 | 36 | MAKE_FLAGS+= \ |
36 | - CFLAGS="-std=c99 $(TARGET_CFLAGS)" \ | |
37 | + CFLAGS="-std=c99 -pthread $(TARGET_CFLAGS)" \ | |
37 | 38 | EVCFLAGS="$(TARGET_CFLAGS)" |
38 | 39 | |
39 | 40 | define Package/ipt2socks/install |