diff options
author | Andreas Baumann <abaumann@yahoo.com> | 2012-08-13 10:51:02 +0200 |
---|---|---|
committer | Andreas Baumann <abaumann@yahoo.com> | 2012-08-13 10:51:02 +0200 |
commit | f4e9d771337a7e7c72b74af4d0b3346c7428e94c (patch) | |
tree | 006da49b4e44224f08c461abe876471bbffbce6b /src/modules/fetcher/winhttp | |
parent | 4f6c381315a7875be1d4c27c6fd2f82b53eeb9c0 (diff) | |
download | crawler-f4e9d771337a7e7c72b74af4d0b3346c7428e94c.tar.gz crawler-f4e9d771337a7e7c72b74af4d0b3346c7428e94c.tar.bz2 |
solved static linking problem of module classes on Windows
Diffstat (limited to 'src/modules/fetcher/winhttp')
-rwxr-xr-x | src/modules/fetcher/winhttp/Makefile.W32 | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/modules/fetcher/winhttp/Makefile.W32 b/src/modules/fetcher/winhttp/Makefile.W32 index 01ee0e3..b006c34 100755 --- a/src/modules/fetcher/winhttp/Makefile.W32 +++ b/src/modules/fetcher/winhttp/Makefile.W32 @@ -5,7 +5,7 @@ SUBDIRS = !INCLUDE $(TOPDIR)\makefiles\nmake\platform.mk INCLUDE_CXXFLAGS = \ - /D_WIN32_WINNT=0x504 /DSHARED + /D_WIN32_WINNT=0x504 INCLUDE_DIRS = \ /I. \ @@ -27,12 +27,16 @@ CPP_OBJS = \ WinHttpFetcher.obj \ WinHttpRewindInputStream.obj +SHARED_CPP_OBJS = \ + WinHttpFetcher.dllobj \ + WinHttpRewindInputStream.dllobj + !INCLUDE $(TOPDIR)\makefiles\nmake\sub.mk $(STATIC_LIB): $(CPP_OBJS) $(LINK) /lib /nologo /out:$@ $(STATIC_LDFLAGS) $? -$(DYNAMIC_MODULE): $(CPP_OBJS) +$(DYNAMIC_MODULE): $(SHARED_CPP_OBJS) $(LINK) /dll /nologo /out:$@ $(LDFLAGS) $(LIBS) $? local_all: $(STATIC_LIB) $(DYNAMIC_MODULE) |