动态链接

This commit is contained in:
2024-10-28 16:48:27 +08:00
parent d439dbc26d
commit 6569e7e577
4 changed files with 2 additions and 2 deletions

View File

@@ -2,7 +2,7 @@ CROSS_COMPILE ?=
CC := $(CROSS_COMPILE)gcc
STRIP := $(CROSS_COMPILE)strip
CFLAGS += -g -Wall -Iip2region
LIBS = -static
LIBS =
BIN := denyip
# 使用shell命令获取库的链接选项

2
cap.c
View File

@@ -348,7 +348,7 @@ int main(int argc, char **argv)
}
while (1) {
printf("子进程当前Ipset Rule 名 %s\n", RULE_NAME);
printf("子进程当前 Ipset Rule 名 %s\n", RULE_NAME);
count = get_ip_count_in_ipset(RULE_NAME);
if (count >= 0) {

BIN
cap.o

Binary file not shown.

BIN
denyip

Binary file not shown.