build system: Qt: don't assume GNU sed

\(…\) seems to be a GNU extension to sed, and MacOS uses BSD sed which
doesn't support it.
This commit is contained in:
Moritz Bunkus 2015-08-15 12:36:10 +02:00
parent ec584c4a25
commit 943ee96fc9
2 changed files with 5 additions and 2 deletions

View File

@ -1,5 +1,8 @@
2015-08-15 Moritz Bunkus <moritz@bunkus.org>
* build system: bug fix: fixed Qt platform plugin detection on
MacOS.
* Released v8.3.0.
* MKVToolNix GUI: chapter editor enhancement: pressing return will

View File

@ -201,8 +201,8 @@ return 0;
if test x"$wanted_plugin" != x; then
plugins_dir=
for dir in `echo $QT_LIBS | sed -e 's/-l[^ ]*\( \|$\)//g' -e 's/-L//g'` ; do
if test -f "$dir/../plugins/platforms/libq${wanted_plugin}.a" ; then
for dir in `echo " $QT_LIBS " | sed -e 's/ -l[^ ]*//g' -e 's/-L//g'` ; do
if test -f "$dir/../plugins/platforms/libq${wanted_plugin}.a"; then
plugins_dir="$dir/../plugins"
break
fi