mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-01 21:58:55 +08:00
9ccc64ca98
* Simplify non-windows openssl build
* No static libs in dynamic triplet
* Install /etc/ssl
* Refactor common and specific setup
* Fix debug configuration
* cleanup
* Remove deprecated no-ssl2 option
e80381e1a3
* Fix absolute path
* No legacy target for debug
* Check for Perl's IPC::Cmd
* Update linux kernel headers message
* CR requests
32 lines
532 B
Bash
Executable File
32 lines
532 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
declare -a OUT_OPTIONS
|
|
|
|
INTERPRETER=perl
|
|
|
|
LAST_SEEN=
|
|
COPY_OPTIONS=no
|
|
for OPTION; do
|
|
case "${OPTION},${COPY_OPTIONS}" in
|
|
*/Configure,no)
|
|
OUT_OPTIONS+=("${OPTION}")
|
|
INTERPRETER="${LAST_SEEN}"
|
|
COPY_OPTIONS=yes
|
|
;;
|
|
--prefix=*|--openssldir=*|--libdir=*|--debug,*)
|
|
OUT_OPTIONS+=("${OPTION}")
|
|
;;
|
|
-*|*=*)
|
|
;;
|
|
*,yes)
|
|
OUT_OPTIONS+=("${OPTION}")
|
|
;;
|
|
esac
|
|
LAST_SEEN="${OPTION}"
|
|
done
|
|
|
|
set -x
|
|
"${INTERPRETER}" ${OUT_OPTIONS[@]}
|