summaryrefslogtreecommitdiff
path: root/Makefile.Watcom
diff options
context:
space:
mode:
authorGuenter Knauf <lists@gknw.net>2010-08-07 18:35:47 +0200
committerGuenter Knauf <lists@gknw.net>2010-08-07 18:35:47 +0200
commitd8ed817b99b7c9e1a85935f993d544c89ae2746f (patch)
tree1ad3928f7ae821454c81b5364379c15ec2099711 /Makefile.Watcom
parentb33f331a4fd7ef79eae42d4625e7d11b23feedab (diff)
downloadc-ares-d8ed817b99b7c9e1a85935f993d544c89ae2746f.tar.gz
c-ares-d8ed817b99b7c9e1a85935f993d544c89ae2746f.tar.bz2
c-ares-d8ed817b99b7c9e1a85935f993d544c89ae2746f.zip
Fix to overwrite default libname.
Diffstat (limited to 'Makefile.Watcom')
-rw-r--r--Makefile.Watcom4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile.Watcom b/Makefile.Watcom
index fdee10a..c1c6d5b 100644
--- a/Makefile.Watcom
+++ b/Makefile.Watcom
@@ -10,7 +10,9 @@ 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 = cares
!endif
TARGETS = $(LIBNAME).dll $(LIBNAME)_imp.lib $(LIBNAME).lib