mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 12:02:42 +01:00
3c7b5e3e99
- Make mwenv automatically adapt the setting to current build dir. - Fix include paths that mwccnlm does not understand - Link libmysl with yassl netware/BUILD/mwccnlm: Update mwccnlm to convert -I../.. to -I../../ netware/BUILD/mwenv: Automatically detect current build dir and based on that calculate current build dir in winw format. Allow caller to define MYDEV to override the defatul "F:/mydev" Set all paths from these three variables netware/Makefile.am: Link libmysql with yassl_libs
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'
|