mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-17 19:18:06 +00:00
Add /usr/include to the include path for MinGW.
This commit is contained in:
parent
dd75242642
commit
acab82a28b
1 changed files with 4 additions and 1 deletions
|
|
@ -62,7 +62,10 @@ case $target in
|
|||
*mingw*)
|
||||
CFLAGS="$CFLAGS -DORTP_STATIC -D_WIN32_WINNT=0x0501 "
|
||||
CXXFLAGS="$CXXFLAGS -DORTP_STATIC -D_WIN32_WINNT=0x0501"
|
||||
LIBS="$LIBS -L/lib -lws2_32"
|
||||
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"
|
||||
mingw_found=yes
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue