1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-02-13 02:51:50 +00:00

ndpi-netfilter compilation fix

This commit is contained in:
Ycarus (Yannick Chabanois) 2019-09-04 07:29:50 +02:00
parent 3c6f6b35d7
commit 3d3839b02c

View file

@ -54,7 +54,7 @@ MAKE_FLAGS += \
define Build/Compile
(cd $(PKG_BUILD_DIR)/src/lib &&\
gcc -I../../src/include/ -I../../src/lib/third_party/include/ ndpi_network_list_compile.c -o ndpi_network_list_compile &&\
gcc -g -O2 -fPIC -DPIC -DNDPI_LIB_COMPILATION -I../../src/include/ -I../../src/lib/third_party/include/ ndpi_network_list_compile.c -o ndpi_network_list_compile &&\
./ndpi_network_list_compile -o ndpi_network_list.c.inc ndpi_network_list_std.yaml ndpi_network_list_tor.yaml)
$(MAKE) $(MAKE_FLAGS) -C $(PKG_BUILD_DIR)/ndpi-netfilter
endef