Commit 35f4bc0c authored by Roland Levillain's avatar Roland Levillain
Browse files

build-aux/build_unit_test.sh: Properly handle QT_LIBS.

parent 748696af
2013-09-11 Roland Levillain <roland@lrde.epita.fr>
* build-aux/build_unit_test.sh: Properly handle QT_LIBS.
2013-09-09 Roland Levillain <roland@lrde.epita.fr>
Olena: Remove Milena's build dir from the file inclusion path.
......
#! /bin/sh
# Copyright (C) 2009, 2010 EPITA Research and Development Laboratory
# Copyright (C) 2009, 2010, 2013 EPITA Research and Development Laboratory
# (LRDE)
#
# This file is part of Olena.
......@@ -120,6 +120,14 @@ EOF
done
echo "$cppflags \${AM_CPPFLAGS}" >>"$output"
echo "$ldflags \${AM_LDFLAGS}" >>"$output"
# Local hack: Handle the special case of Qt, which defines
# QT_LIBS, to be use for with ${NAME}_LDADD variables.
for i in $IFDEF; do
if test "x$i" = xQT; then
echo "${NAME}_LDADD= \${QT_LIBS} \${LDADD}" >>"$output"
fi
done
fi
done
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment