From 9e798c0f7f7de985da87a370837e5ca18474d8f1 Mon Sep 17 00:00:00 2001 From: Olli Parviainen Date: Wed, 2 Nov 2022 19:55:10 +0200 Subject: [PATCH] Fix compiler flags in SoundTouchDLL/Makefile.am Fix compiler flags in SoundTouchDLL/Makefile.am so that flags inherited from master makefile get included. Signed-off-by: Olli Parviainen --- source/SoundTouchDLL/Makefile.am | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/source/SoundTouchDLL/Makefile.am b/source/SoundTouchDLL/Makefile.am index ecd1fd2..f867184 100644 --- a/source/SoundTouchDLL/Makefile.am +++ b/source/SoundTouchDLL/Makefile.am @@ -31,6 +31,8 @@ libSoundTouchDll_la_SOURCES=../SoundTouch/AAFilter.cpp ../SoundTouch/FIRFilter.c ../SoundTouch/BPMDetect.cpp ../SoundTouch/PeakFinder.cpp ../SoundTouch/InterpolateLinear.cpp \ ../SoundTouch/InterpolateCubic.cpp ../SoundTouch/InterpolateShannon.cpp SoundTouchDLL.cpp +# Compiler flags + # Modify the default 0.0.0 to LIB_SONAME.0.0 LDFLAGS=-version-info @LIB_SONAME@ @@ -42,4 +44,4 @@ if X86_64 CXXFLAGS2=-fPIC endif -CXXFLAGS=$(AM_CXXFLAGS) $(CXXFLAGS1) $(CXXFLAGS2) -shared -DDLL_EXPORTS -fvisibility=hidden +CXXFLAGS+=$(AM_CXXFLAGS) $(CXXFLAGS1) $(CXXFLAGS2) -shared -DDLL_EXPORTS -fvisibility=hidden