Recompile LocalhostRetriever.dll with -Wl,--kill-at for Windows x86 and x64.

cusax-fix
Sebastien Vincent 15 years ago
parent 506e322cba
commit e0fa9f263d

@ -6,10 +6,11 @@
# add -m32 to cross-compile for 32-bit target
CC = gcc -O2
JNI_HEADERS = -I$(JAVA_HOME)/include -I$(JAVA_HOME)/include/win32
CFLAGS = -shared $(JNI_HEADERS) -D_JNI_IMPLEMENTATION
CFLAGS = -shared -Wl,--kill-at $(JNI_HEADERS) -D_JNI_IMPLEMENTATION
LocalhostRetriever.dll: net_java_sip_communicator_impl_netaddr_Win32LocalhostRetriever.c
$(CC) $(CFLAGS) net_java_sip_communicator_impl_netaddr_Win32LocalhostRetriever.c -liphlpapi -o $@
strip $@
clean:
del *.dll *.o

Loading…
Cancel
Save