mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-26 15:48:09 +00:00
Add /usr/include for MinGW at the end of the CPPFLAGS.
This commit is contained in:
parent
7de6efb0d2
commit
5a9e7e66d7
1 changed files with 9 additions and 3 deletions
12
configure.ac
12
configure.ac
|
|
@ -62,9 +62,6 @@ case $target in
|
|||
*mingw*)
|
||||
CFLAGS="$CFLAGS -DORTP_STATIC -D_WIN32_WINNT=0x0501 "
|
||||
CXXFLAGS="$CXXFLAGS -DORTP_STATIC -D_WIN32_WINNT=0x0501"
|
||||
dnl Workaround for mingw, whose compiler does not check in /usr/include ...
|
||||
CPPFLAGS="$CPPFLAGS -I/usr/include"
|
||||
LDFLAGS="$LDFLAGS -L/usr/lib"
|
||||
LIBS="$LIBS -lws2_32"
|
||||
GUI_FLAGS="-mwindows"
|
||||
CONSOLE_FLAGS="-mconsole"
|
||||
|
|
@ -946,6 +943,15 @@ case "$target_os" in
|
|||
;;
|
||||
esac
|
||||
|
||||
case $target in
|
||||
*mingw*)
|
||||
dnl Workaround for mingw, whose compiler does not check in /usr/include ...
|
||||
CPPFLAGS="$CPPFLAGS -I/usr/include"
|
||||
LDFLAGS="$LDFLAGS -L/usr/lib"
|
||||
;;
|
||||
esac
|
||||
|
||||
|
||||
dnl ##################################################
|
||||
dnl # Check for doxygen
|
||||
dnl ##################################################
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue