shithub: opusfile

Download patch

ref: 383dfbb430ca537767cd8d3dc36bbcd4eeb45232
parent: 4a5c89adcf9fc199603cdfe99afedaeacd63bf74
author: Ralph Giles <[email protected]>
date: Tue Nov 27 04:41:14 EST 2012

Merge two OS_WIN32 conditionals.

--- a/Makefile.am
+++ b/Makefile.am
@@ -12,15 +12,13 @@
 	src/http.c src/info.c \
 	src/internal.c src/internal.h \
 	src/opusfile.c src/stream.c
-if OS_WIN32
-libopusfile_la_SOURCES += src/wsockwrapper.c
-endif
 libopusfile_la_LIBADD = $(DEPS_LIBS)
+libopusfile_la_LDFLAGS = -no-undefined \
+ -version-info @OP_LT_CURRENT@:@OP_LT_REVISION@:@OP_LT_AGE@
 if OS_WIN32
+libopusfile_la_SOURCES += src/wsockwrapper.c
 libopusfile_la_LIBADD += -lws2_32
 endif
-libopusfile_la_LDFLAGS = -no-undefined \
- -version-info @OP_LT_CURRENT@:@OP_LT_REVISION@:@OP_LT_AGE@
 
 noinst_PROGRAMS = examples/opusfile_example examples/seeking_example