Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BC
public
mediastreamer2
Commits
e4e9e51e
Commit
e4e9e51e
authored
Feb 14, 2015
by
Simon Morlat
Browse files
allow mediastreamer2 to find polarssl on mingw build.
parent
a9e3a984
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
configure.ac
configure.ac
+4
-1
No files found.
configure.ac
View file @
e4e9e51e
...
...
@@ -185,6 +185,9 @@ dnl ORTP_STATIC to tell ortp not to export its variable with dllexport, as if we
mingw32ce_found=yes
;;
*mingw*)
dnl Workaround for mingw, whose compiler does not check in /usr/include ...
CPPFLAGS="$CPPFLAGS -I/usr/include"
LDFLAGS="$LDFLAGS -L/usr/lib"
CFLAGS="$CFLAGS -D_WIN32_WINNT=0x0501 -DORTP_STATIC"
CXXFLAGS="$CXXFLAGS -D_WIN32_WINNT=0x0501 -DORTP_STATIC"
dnl ORTP_STATIC to tell ortp not to export its variable with dllexport, as if we were building statically, or dynamically on linux
...
...
@@ -1016,7 +1019,7 @@ AC_ARG_WITH(srtp,
fi])
if test "${srtp_prefix}" != "none" ; then
if test "${srtp_prefix}" != "/usr"
|| test "$mingw_found" = "yes"
; then
if test "${srtp_prefix}" != "/usr" ; then
SRTP_CFLAGS="-I${srtp_prefix}/include -I${srtp_prefix}/include/srtp"
SRTP_LIBS="-L${srtp_prefix}/lib"
fi
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment