mirror of
https://github.com/alsa-project/alsa-tools.git
synced 2026-02-05 04:06:31 -05:00
Fix gw_CHECK_QT macro
Fixes pattern in gw_CHECK_QT not to match files that the linker won't use, for example libqt.so.3 . Needed if both libqt and libqt-mt shared libraries are installed, but only the libqt-mt development library. Signed-off-by: Mikael Magnusson <mikma@users.sourceforge.net>
This commit is contained in:
parent
8ff2d3d2ea
commit
0d5aa544ed
1 changed files with 4 additions and 4 deletions
|
|
@ -99,17 +99,17 @@ case "${host}" in
|
|||
fi
|
||||
fi
|
||||
|
||||
if test "x`ls $QTDIR/lib/libqt.* 2> /dev/null`" != x ; then
|
||||
if test "x`ls $QTDIR/lib/libqt.{a,so} 2> /dev/null`" != x ; then
|
||||
QT_LIB="-lqt"
|
||||
QT_IS_MT="no"
|
||||
elif test "x`ls $QTDIR/lib/libqt-mt.* 2> /dev/null`" != x ; then
|
||||
elif test "x`ls $QTDIR/lib/libqt-mt.{a,so} 2> /dev/null`" != x ; then
|
||||
QT_LIB="-lqt-mt"
|
||||
QT_IS_MT="yes"
|
||||
elif test "x`ls $QTDIR/lib/libqte.* 2> /dev/null`" != x ; then
|
||||
elif test "x`ls $QTDIR/lib/libqte.{a,so} 2> /dev/null`" != x ; then
|
||||
QT_LIB="-lqte"
|
||||
QT_IS_MT="no"
|
||||
QT_IS_EMBEDDED="yes"
|
||||
elif test "x`ls $QTDIR/lib/libqte-mt.* 2> /dev/null`" != x ; then
|
||||
elif test "x`ls $QTDIR/lib/libqte-mt.{a,so} 2> /dev/null`" != x ; then
|
||||
QT_LIB="-lqte-mt"
|
||||
QT_IS_MT="yes"
|
||||
QT_IS_EMBEDDED="yes"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue