mirror of
https://github.com/curl/curl.git
synced 2026-08-25 01:13:32 +03:00
src/Makefile.am: build static lib for unit tests if enabled
This commit is contained in:
parent
2de20dd9a1
commit
683f2b8323
3 changed files with 21 additions and 2 deletions
|
|
@ -55,6 +55,9 @@
|
|||
int vms_show = 0;
|
||||
#endif
|
||||
|
||||
/* if we build a static library for unit tests, there is no main() function */
|
||||
#ifndef UNITTESTS
|
||||
|
||||
/*
|
||||
* Ensure that file descriptors 0, 1 and 2 (stdin, stdout, stderr) are
|
||||
* open before starting to run. Otherwise, the first three network
|
||||
|
|
@ -118,3 +121,4 @@ int main(int argc, char *argv[])
|
|||
#endif
|
||||
}
|
||||
|
||||
#endif /* ndef UNITTESTS */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue