summaryrefslogtreecommitdiff
path: root/pkg/curl/gen.lua
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2017-08-22 20:55:59 -0700
committerMichael Forney <mforney@mforney.org>2017-10-04 10:24:09 -0700
commit433f9a7519f8831644fea22cf236bfe62a2b6c80 (patch)
treef71a1b16b734e877748f363438403dd4fb08d0ec /pkg/curl/gen.lua
parentca03fd8daf37aaa74cce9ccd166639448a713eab (diff)
curl: Use configure-generated curl_config.h
Previously we used curl_config.h.cmake since it was tracked by git, but the cmake build is not well maintained.
Diffstat (limited to 'pkg/curl/gen.lua')
-rw-r--r--pkg/curl/gen.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkg/curl/gen.lua b/pkg/curl/gen.lua
index 3dc8cdcf..33e877d0 100644
--- a/pkg/curl/gen.lua
+++ b/pkg/curl/gen.lua
@@ -1,6 +1,7 @@
cflags{
'-D HAVE_CONFIG_H',
- '-I include',
+ '-D BUILDING_LIBCURL',
+ '-D CURL_STATICLIB',
'-I $dir',
'-I $outdir/include/curl',
'-I $outdir/include',