summaryrefslogtreecommitdiff
path: root/src/Makefile.inc
diff options
context:
space:
mode:
authorDan Fandrich <dan@coneharvesters.com>2006-07-11 17:02:06 +0000
committerDan Fandrich <dan@coneharvesters.com>2006-07-11 17:02:06 +0000
commitc6fc5a1a269796a47ac265751e0baafcf436391a (patch)
tree24d7bf0d6bc52449d3e31fa4f610b66e1b726d8f /src/Makefile.inc
parent012d75442ab21cbf7c487a3548c6db9151567507 (diff)
downloadgnurl-c6fc5a1a269796a47ac265751e0baafcf436391a.tar.gz
gnurl-c6fc5a1a269796a47ac265751e0baafcf436391a.tar.bz2
gnurl-c6fc5a1a269796a47ac265751e0baafcf436391a.zip
Moved strdup replacement from src/main.c into src/strdup.c so it's available
in libcurl as well, if necessary.
Diffstat (limited to 'src/Makefile.inc')
-rw-r--r--src/Makefile.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Makefile.inc b/src/Makefile.inc
index 4f2aff9a2..b6583e72c 100644
--- a/src/Makefile.inc
+++ b/src/Makefile.inc
@@ -2,7 +2,8 @@
# libcurl has sources that provide functions named curlx_* that aren't part of
# the official API, but we re-use the code here to avoid duplication.
-CURLX_ONES = $(top_srcdir)/lib/strtoofft.c $(top_srcdir)/lib/timeval.c
+CURLX_ONES = $(top_srcdir)/lib/strtoofft.c $(top_srcdir)/lib/timeval.c \
+ $(top_srcdir)/lib/strdup.c
CURL_SOURCES = main.c hugehelp.c urlglob.c writeout.c writeenv.c \
getpass.c homedir.c