lwip: use symbol.map to avoid clash with dns_init

Ref #2026
This commit is contained in:
Stefan Kalkowski 2016-06-30 11:10:08 +02:00 committed by Christian Helmuth
parent 16f0a69a8b
commit 901b39259c
2 changed files with 14 additions and 0 deletions

View File

@ -30,6 +30,8 @@ D_OPTS = ERRNO
D_OPTS := $(addprefix -D,$(D_OPTS))
CC_DEF += $(D_OPTS)
LD_OPT += --version-script=$(REP_DIR)/src/lib/lwip/symbol.map
INC_DIR += $(REP_DIR)/include/lwip \
$(LWIP_PORT_DIR)/include/lwip \
$(LWIP_DIR)/src/include \

View File

@ -0,0 +1,12 @@
{
global:
lwip_*;
ipaddr_addr;
dns_getserver;
ipaddr_ntoa;
local:
*;
};