diff options
| author | Michael Forney <mforney@mforney.org> | 2020-01-29 13:56:48 -0800 |
|---|---|---|
| committer | Michael Forney <mforney@mforney.org> | 2020-01-29 22:14:33 -0800 |
| commit | 051963c7fee2c453d086c6792282f4c299bdf68c (patch) | |
| tree | 7a754ba30a144443de86c080881985f6df2913aa /pkg/curl/gen.lua | |
| parent | 35ec1d214359c035a45c4c51c1072f819f421894 (diff) | |
Add support for building multiple configurations
Now, you can build in separate directories per configuration:
mkdir foo
(cd foo && ../setup.lua)
samu -C foo
Diffstat (limited to 'pkg/curl/gen.lua')
| -rw-r--r-- | pkg/curl/gen.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/curl/gen.lua b/pkg/curl/gen.lua index a6c7bc96..1c07039b 100644 --- a/pkg/curl/gen.lua +++ b/pkg/curl/gen.lua @@ -33,7 +33,7 @@ pkg.hdrs = copy('$outdir/include/curl', '$srcdir/include/curl', { }) pkg.deps = { '$outdir/curl_config.h', - '$dir/headers', + '$gendir/headers', 'pkg/bearssl/headers', 'pkg/zlib/headers', } @@ -81,7 +81,7 @@ lib('libcurl.a', [[ ]]) build('cc', '$outdir/tool_hugehelp.c.o', { - '$dir/tool_hugehelp.c', '||', '$dir/deps', '$srcdir/src/tool_hugehelp.h', + '$dir/tool_hugehelp.c', '||', '$gendir/deps', '$srcdir/src/tool_hugehelp.h', }) -- src/src/Makefile.inc:/^CURL_CFILES |
