mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 10:00:33 +00:00
use -F instead of -L to link Qt frameworks
This commit is contained in:
parent
2d278850cb
commit
040374f343
@ -202,10 +202,18 @@ AC_DEFUN([QT4_DO_MANUAL_CONFIG],
|
||||
done
|
||||
QT4_CORE_INCLUDES="-I$qt4_cv_includes -I$qt4_cv_includes/QtCore"
|
||||
fi
|
||||
if test -n "$qt4_cv_libraries"; then
|
||||
case "$qt4_cv_libraries" in
|
||||
*framework*)
|
||||
QT4_LDFLAGS="-F$qt4_cv_libraries"
|
||||
QT4_CORE_LDFLAGS="-F$qt4_cv_libraries"
|
||||
;;
|
||||
"")
|
||||
;;
|
||||
*)
|
||||
QT4_LDFLAGS="-L$qt4_cv_libraries"
|
||||
QT4_CORE_LDFLAGS="-L$qt4_cv_libraries"
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
AC_SUBST(QT4_INCLUDES)
|
||||
AC_SUBST(QT4_CORE_INCLUDES)
|
||||
AC_SUBST(QT4_LDFLAGS)
|
||||
|
Loading…
Reference in New Issue
Block a user