diff options
author | Guenter Knauf <lists@gknw.net> | 2010-07-31 11:52:05 +0200 |
---|---|---|
committer | Guenter Knauf <lists@gknw.net> | 2010-07-31 11:52:05 +0200 |
commit | fbee86a9e213abb46b37c94c5861de8806f296e2 (patch) | |
tree | 4f54f07eb3e5a5c1fc93cad1f89c76faadb95b2e /src/Makefile.Watcom | |
parent | 2f0c1185776f3483cb042c699dc52f5a4662079e (diff) | |
download | curl-fbee86a9e213abb46b37c94c5861de8806f296e2.tar.gz |
Fixed curl.exe static linking.
Diffstat (limited to 'src/Makefile.Watcom')
-rw-r--r-- | src/Makefile.Watcom | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/Makefile.Watcom b/src/Makefile.Watcom index 39a387ef7..a475cfba4 100644 --- a/src/Makefile.Watcom +++ b/src/Makefile.Watcom @@ -30,7 +30,7 @@ RD = rmdir /q /s >NUL 2>&1 CP = copy CFLAGS = -3r -mf -hc -zff -zgf -zq -zm -s -fr=con -w2 -fpi -oilrtfm & - -wcd=201 -bt=nt -d+ -dWIN32 -dHAVE_STRTOLL & + -wcd=201 -bt=nt -bc -d+ -dWIN32 -dHAVE_STRTOLL & -I..\include -I..\lib $(SYS_INCL) !ifdef %debug @@ -61,8 +61,9 @@ CURL_SOURCES = main.c hugehelp.c urlglob.c writeout.c writeenv.c & CURLX_SOURCES = rawstr.c nonblock.c OBJS = $(CURL_SOURCES:.c=.obj) -!ifndef %curl_static +!ifdef %curl_static CFLAGS += -DCURL_STATICLIB +!else OBJS += $(CURLX_SOURCES:.c=.obj) !endif OBJS = $OBJ_DIR\$(OBJS: = $OBJ_DIR\) @@ -92,6 +93,7 @@ $(LINK_ARG): $(__MAKEFILES__) @%append $^@ res=$(RESOURCE) libpath $(SYS_LIBS) # @%append $^@ library clib3r.lib !ifdef %curl_static + @%append $^@ library wldap32.lib @%append $^@ library ..\lib\libcurl_wc.lib !else @%append $^@ library ..\lib\libcurl_wc_imp.lib |