summaryrefslogtreecommitdiff
path: root/lib/Makefile.Watcom
diff options
context:
space:
mode:
authorGuenter Knauf <lists@gknw.net>2010-08-07 18:32:39 +0200
committerGuenter Knauf <lists@gknw.net>2010-08-07 18:33:46 +0200
commit6ea043a504d4b3307def90d54f9474ae02e97372 (patch)
tree9fe753c1c83abbc4efdae2d4be8639b147579c73 /lib/Makefile.Watcom
parentaf4eae77acd6d5d353c583b2616903b7c865daea (diff)
downloadcurl-6ea043a504d4b3307def90d54f9474ae02e97372.tar.gz
Fix to overwrite libcurl name.
Diffstat (limited to 'lib/Makefile.Watcom')
-rw-r--r--lib/Makefile.Watcom6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/Makefile.Watcom b/lib/Makefile.Watcom
index be24a807e..4807972f1 100644
--- a/lib/Makefile.Watcom
+++ b/lib/Makefile.Watcom
@@ -10,15 +10,17 @@ SYS_INCL = -I$(%watcom)\h\nt -I$(%watcom)\h
SYS_LIBS = $(%watcom)\lib386\nt;$(%watcom)\lib386
!endif
-!ifndef %libname
+!ifdef %libname
+LIBNAME = $(%libname)
+!else
LIBNAME = libcurl
!endif
TARGETS = $(LIBNAME).dll $(LIBNAME)_imp.lib $(LIBNAME).lib
CC = wcc386
LD = wlink
-RC = wrc
AR = wlib
+RC = wrc
!ifdef __LOADDLL__
! loaddll wcc386 wccd386