]> git.pld-linux.org Git - packages/alsa-tools.git/blob - x32.patch
- fix build on x32
[packages/alsa-tools.git] / x32.patch
1 --- alsa-tools-1.0.29/qlo10k1/acinclude.m4~     2015-03-12 20:44:19.000000000 +0100
2 +++ alsa-tools-1.0.29/qlo10k1/acinclude.m4      2015-03-12 20:49:11.196554255 +0100
3 @@ -100,9 +100,13 @@
4          if test x$QT_IS_STATIC = xno ; then
5              QT_IS_DYNAMIC=`ls $QTDIR/lib/libqt*.so 2> /dev/null` 
6              QT_IS_DYNAMIC64=`ls $QTDIR/lib64/libqt*.so 2> /dev/null` 
7 -            if test "x$QT_IS_DYNAMIC" = x && test "x$QT_IS_DYNAMIC64" = x;  then
8 +            QT_IS_DYNAMICX32=`ls $QTDIR/libx32/libqt*.so 2> /dev/null` 
9 +            if test "x$QT_IS_DYNAMIC" = x && test "x$QT_IS_DYNAMIC64" = x && test "x$QT_IS_DYNAMICX32" = x;  then
10                  AC_MSG_ERROR([*** Couldn't find any Qt libraries])
11              fi
12 +            if test "x$QT_IS_DYNAMICX32" != x;  then
13 +               QT_LIB_DIR="libx32"
14 +            fi
15              if test "$QTFORCE32" = "no" && test "x$QT_IS_DYNAMIC64" != x;  then
16                 QT_LIB_DIR="lib64"
17              fi
This page took 0.068741 seconds and 3 git commands to generate.