Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Xiph.Org
flac
Commits
330fc08a
Commit
330fc08a
authored
Aug 01, 2007
by
Josh Coalson
Browse files
more mingw fixes
parent
12d3a418
Changes
6
Hide whitespace changes
Inline
Side-by-side
configure.in
View file @
330fc08a
...
...
@@ -74,6 +74,7 @@ esac
AM_CONDITIONAL(FLaC__CPU_IA32, test "x$cpu_ia32" = xtrue)
AM_CONDITIONAL(FLaC__CPU_PPC, test "x$cpu_ppc" = xtrue)
AM_CONDITIONAL(FLaC__CPU_SPARC, test "x$cpu_sparc" = xtrue)
case "$host" in
i386-*-openbsd3.[[0-3]]) OBJ_FORMAT=aoutb ;;
*-*-cygwin|*mingw*) OBJ_FORMAT=win32 ;;
...
...
@@ -81,6 +82,14 @@ case "$host" in
*) OBJ_FORMAT=elf ;;
esac
AC_SUBST(OBJ_FORMAT)
# only needed because of ntohl() usage, can get rid of after that's gone:
case "$host" in
*-*-cygwin|*mingw*) MINGW_WINSOCK_LIBS=-lwsock32 ;;
*) MINGW_WINSOCK_LIBS= ;;
esac
AC_SUBST(MINGW_WINSOCK_LIBS)
case "$host" in
*-pc-linux-gnu)
sys_linux=true
...
...
src/flac/Makefile.am
View file @
330fc08a
...
...
@@ -48,4 +48,5 @@ flac_LDADD = \
$(top_builddir)
/src/libFLAC/libFLAC.la
\
@OGG_LIBS@
\
@LIBICONV@
\
@MINGW_WINSOCK_LIBS@
\
-lm
src/metaflac/Makefile.am
View file @
330fc08a
...
...
@@ -49,4 +49,5 @@ metaflac_LDADD = \
$(top_builddir)
/src/libFLAC/libFLAC.la
\
@OGG_LIBS@
\
@LIBICONV@
\
@MINGW_WINSOCK_LIBS@
\
-lm
src/test_libFLAC++/Makefile.am
View file @
330fc08a
...
...
@@ -28,6 +28,7 @@ test_libFLAC___LDADD = \
$(top_builddir)
/src/libFLAC++/libFLAC++.la
\
$(top_builddir)
/src/libFLAC/libFLAC.la
\
@OGG_LIBS@
\
@MINGW_WINSOCK_LIBS@
\
-lm
test_libFLAC___SOURCES
=
\
decoders.cpp
\
...
...
src/test_libFLAC/Makefile.am
View file @
330fc08a
...
...
@@ -29,6 +29,7 @@ test_libFLAC_LDADD = \
$(top_builddir)
/src/test_libs_common/libtest_libs_common.la
\
$(top_builddir)
/src/libFLAC/libFLAC.la
\
@OGG_LIBS@
\
@MINGW_WINSOCK_LIBS@
\
-lm
test_libFLAC_SOURCES
=
\
bitwriter.c
\
...
...
src/test_seeking/Makefile.am
View file @
330fc08a
...
...
@@ -28,6 +28,7 @@ noinst_PROGRAMS = test_seeking
test_seeking_LDADD
=
\
$(top_builddir)
/src/libFLAC/libFLAC.la
\
@OGG_LIBS@
\
@MINGW_WINSOCK_LIBS@
\
-lm
test_seeking_SOURCES
=
\
main.c
Write
Preview
Supports
Markdown
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