From 100bfa29bb2304e418add6f13843b1af9fa63df9 Mon Sep 17 00:00:00 2001 From: Jari Vetoniemi Date: Wed, 31 Oct 2018 03:21:25 +0200 Subject: support floating point encodings added dsp.c from sndio for handling the conversions. sort of fixes mpv, still has problems due to stubbed functions though. --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index b53df4c..c4dddde 100644 --- a/Makefile +++ b/Makefile @@ -22,10 +22,11 @@ all: $(libs) $(libsymlinks) $(pkgconfigs) m4 -DINCLUDEDIR="$(PREFIX)$(includedir)" -DLIBDIR="$(PREFIX)$(libdir)" $^ > $@ libasound.so.2.0.0: private override CPPFLAGS += -D_POSIX_SOURCE +libasound.so.2.0.0: private override CPPFLAGS += -DBYTE_ORDER=__BYTE_ORDER -DLITTLE_ENDIAN=__LITTLE_ENDIAN -DBIG_ENDIAN=__BIG_ENDIAN libasound.so.2.0.0: private override CFLAGS += -Wno-unused-parameter -Wno-deprecated-declarations libasound.so.2.0.0: private override LDFLAGS += -Wl,--version-script=libasound.map -Wl,-soname,libasound.so.2 libasound.so.2.0.0: private override LDLIBS += -lsndio -libasound.so.2.0.0: libasound.c libasound.map stubs.h symversioning-hell.h +libasound.so.2.0.0: libasound.c dsp/dsp.c libasound.map stubs.h symversioning-hell.h $(LINK.c) -shared $(filter %.c,$^) $(LDLIBS) -o $@ libasound.so.2: libasound.so.2.0.0 -- cgit v1.2.3-70-g09d2