mirror of
https://github.com/MariaDB/server.git
synced 2025-01-18 13:02:28 +01:00
e5bf79e608
to their .libs/*.a library Add comment describing why mwldnlm is called with "x" flag
18 lines
506 B
Bash
Executable file
18 lines
506 B
Bash
Executable file
#! /bin/sh
|
|
|
|
# stop on errors
|
|
set -e
|
|
|
|
# If libtool passes "x" as the first argument to this script
|
|
# it's an indication that libtool is trying to unpack .la's
|
|
# so they can be added to a new library
|
|
# This step does not work on Netware and we avoid it by
|
|
# replacing the .la library with the path to the .a library
|
|
# in Makefile.in
|
|
|
|
args=" $*"
|
|
|
|
# NOTE: Option 'pipefail' is not standard sh
|
|
set -o pipefail
|
|
wine --debugmsg -all -- mwldnlm $args | \
|
|
perl -pe 's/\r//g; s/^\e.*\e(\[J|>)?//; s/[[^:print:]]//g'
|