mirror of
https://github.com/MariaDB/server.git
synced 2025-01-20 22:12:30 +01:00
ca81d57ff8
- Make mwenv automatically adapt the setting to current build dir. - Fix include paths that mwccnlm does not understand - Link libmysl with yassl
16 lines
421 B
Bash
Executable file
16 lines
421 B
Bash
Executable file
#! /bin/sh
|
|
|
|
# stop on errors
|
|
set -e
|
|
|
|
# mwccnlm is having a hard time understanding:
|
|
# * "-I./../include", convert it to "-I../include"
|
|
# * "-I.../..", convert it to "-I../../"
|
|
args=" "`echo $* | sed \
|
|
-e 's/-I.\/../-I../g' \
|
|
-e 's/\(-I[.\/]*.\) /\1\/ /g'`
|
|
|
|
# NOTE: Option 'pipefail' is not standard sh
|
|
set -o pipefail
|
|
wine --debugmsg -all -- mwccnlm $args | \
|
|
perl -pe 's/\r//g; s/^\e.*\e(\[J|>)?//; s/[[^:print:]]//g'
|