Use "g++ -mwindows" when compiling qphotorec under Windows
This commit is contained in:
parent
c603941b7f
commit
06c5784c9c
1 changed files with 6 additions and 0 deletions
|
@ -285,9 +285,11 @@ use_icon=no
|
||||||
case "$target" in
|
case "$target" in
|
||||||
*-*-*cygwin*)
|
*-*-*cygwin*)
|
||||||
use_icon=yes
|
use_icon=yes
|
||||||
|
win_target=yes
|
||||||
;;
|
;;
|
||||||
*-*-*mingw*)
|
*-*-*mingw*)
|
||||||
use_icon=yes
|
use_icon=yes
|
||||||
|
win_target=yes
|
||||||
;;
|
;;
|
||||||
*-*-*djgpp)
|
*-*-*djgpp)
|
||||||
if test -z "$CC" ; then CC=gcc; fi
|
if test -z "$CC" ; then CC=gcc; fi
|
||||||
|
@ -854,6 +856,10 @@ then
|
||||||
qphotorec_CXXFLAGS="$qphotorec_CXXFLAGS $QTGUI_CFLAGS"
|
qphotorec_CXXFLAGS="$qphotorec_CXXFLAGS $QTGUI_CFLAGS"
|
||||||
fi
|
fi
|
||||||
AM_CONDITIONAL(USEQT, test "$use_qt" = true)
|
AM_CONDITIONAL(USEQT, test "$use_qt" = true)
|
||||||
|
if test "$win_target" = yes;
|
||||||
|
then
|
||||||
|
qphotorec_LDADD="$qphotorec_LDADD -mwindows"
|
||||||
|
fi
|
||||||
|
|
||||||
# e2fsprogs may be using pthread
|
# e2fsprogs may be using pthread
|
||||||
# checks for pthreads
|
# checks for pthreads
|
||||||
|
|
Loading…
Reference in a new issue