aboutsummaryrefslogtreecommitdiffstats
path: root/wsutil/Makefile.nmake
diff options
context:
space:
mode:
authorBalint Reczey <balint@balintreczey.hu>2013-02-28 14:09:46 +0000
committerBalint Reczey <balint@balintreczey.hu>2013-02-28 14:09:46 +0000
commit45c2884f1bbd9c06f7ba3091d968fcb6649a5f56 (patch)
treebb66eea36a288f1ab5e33468ee9bf2989339b2aa /wsutil/Makefile.nmake
parent018ba4ea6584f63aa5c4b741c2e6f6fedc609ad2 (diff)
Export libwsutil symbols using WS_DLL_PUBLIC define
This change replaces *.def and *.sym file usage following the guideline at http://gcc.gnu.org/wiki/Visibility svn path=/trunk/; revision=47938
Diffstat (limited to 'wsutil/Makefile.nmake')
-rw-r--r--wsutil/Makefile.nmake6
1 files changed, 3 insertions, 3 deletions
diff --git a/wsutil/Makefile.nmake b/wsutil/Makefile.nmake
index 7be40f6d7b..503c7713bb 100644
--- a/wsutil/Makefile.nmake
+++ b/wsutil/Makefile.nmake
@@ -13,7 +13,7 @@ include Makefile.common
CFLAGS=$(WARNINGS_ARE_ERRORS) $(STANDARD_CFLAGS) \
/I. /I.. $(GLIB_CFLAGS) \
- /I$(PCAP_DIR)\include
+ /I$(PCAP_DIR)\include -DWS_BUILD_DLL
.c.obj::
$(CC) $(CFLAGS) -Fd.\ -c $<
@@ -34,10 +34,10 @@ OBJECTS = file_util.obj \
libwsutil.lib: libwsutil.dll
libwsutil.exp: libwsutil.dll
-libwsutil.dll : $(OBJECTS) libwsutil.def ..\image\libwsutil.res
+libwsutil.dll : $(OBJECTS) ..\image\libwsutil.res
$(link) $(dlllflags) $(conlibsdll) shell32.lib \
$(LOCAL_LDFLAGS) $(DLL_LDFLAGS) \
- /DEF:libwsutil.def /OUT:libwsutil.dll \
+ /OUT:libwsutil.dll \
/IMPLIB:libwsutil.lib \
..\image\libwsutil.res \
$(OBJECTS) $(libwsutil_LIBS)