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
belle-sip
Commits
1174ce48
Commit
1174ce48
authored
Jan 25, 2013
by
Ghislain MARY
Browse files
Fix compilation with mingw.
parent
75eaecd4
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
4 deletions
+5
-4
configure.ac
configure.ac
+2
-1
src/Makefile.am
src/Makefile.am
+1
-1
tester/Makefile.am
tester/Makefile.am
+2
-2
No files found.
configure.ac
View file @
1174ce48
...
...
@@ -83,7 +83,7 @@ antlr_java_prefixes="$antlr_prefix/share/java /usr/local/share/java /usr/share/j
if test $antlr_jar = "no" ; then
AC_MSG_ERROR([Could not find antlr.jar. Please install antlr3 ])
fi
AC_PATH_PROG([JAVA],[java])
AC_PATH_PROG([JAVA],[java]
,[no]
)
if test $JAVA = "no" ; then
AC_MSG_ERROR([Could not find java prog. Please install java ])
else
...
...
@@ -135,6 +135,7 @@ case "$target_os" in
*mingw*)
CPPFLAGS="$CPPFLAGS -D_WIN32_WINNT=0x0501"
LIBS="$LIBS -lws2_32"
LDFLAGS="$LDFLAGS -Wl,--export-all-symbols"
;;
esac
...
...
src/Makefile.am
View file @
1174ce48
...
...
@@ -68,7 +68,7 @@ libbellesip_la_CFLAGS=$(STRICT_OPTIONS) $(ANTLR_CFLAGS) $(TLS_CFLAGS)
libbellesip_la_LIBADD
=
libbellesip_generated.la
$(ANTLR_LIBS)
$(TLS_LIBS)
libbellesip_la_LDFLAGS
=
-no-undefined
libbellesip_la_LDFLAGS
=
-no-undefined
$(LDFLAGS)
AM_CPPFLAGS
=
-I
$(top_srcdir)
/include
...
...
tester/Makefile.am
View file @
1174ce48
...
...
@@ -17,7 +17,7 @@ belle_sip_tester_SOURCES= belle_sip_tester.c \
belle_sip_tester_CFLAGS
=
$(CUNIT_CFLAGS)
$(STRICT_OPTIONS)
belle_sip_tester_LDFLAGS
=
$(CUNIT_LIBS)
belle_sip_tester_LDFLAGS
=
$(CUNIT_LIBS)
$(AM_LDFLAGS)
belle_sip_object_describe_SOURCES
=
describe.c
...
...
@@ -25,7 +25,7 @@ AM_CPPFLAGS=-I$(top_srcdir)/include -I$(top_srcdir)/src
LDADD
=
$(top_builddir)
/src/libbellesip.la
AM_LDFLAGS
=
-export-dynamic
AM_LDFLAGS
=
-no-undefined
-export-dynamic
AM_CFLAGS
=
$(STRICT_OPTIONS)
...
...
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