shithub: aubio

Download patch

ref: 954585ac18e2791c05adc6546b3481952aabbb5c
parent: 18f316222e08e7a8136ee47b6de18a22afc8f904
author: Paul Brossier <piem@piem.org>
date: Thu May 15 16:16:40 EDT 2008

cpp/Makefile.am: use CPPFLAGS for cpp lib, fix up includes

--- a/cpp/Makefile.am
+++ b/cpp/Makefile.am
@@ -2,6 +2,6 @@
 
 lib_LTLIBRARIES = libaubiocpp.la 
 libaubiocpp_la_SOURCES = aubiocpp.cpp
-AM_CFLAGS = -I$(top_srcdir)/src @AUBIO_CFLAGS@ @FFTWLIB_CFLAGS@ @SAMPLERATE_CFLAGS@
+AM_CPPFLAGS = -I$(top_srcdir)/src -I$(top_builddir)/src @AUBIO_CFLAGS@ @FFTWLIB_CFLAGS@ @SAMPLERATE_CFLAGS@
 libaubiocpp_la_LIBADD  = -laubio -L${top_builddir}/src @FFTWLIB_LIBS@ @SAMPLERATE_LIBS@ @LTLIBOBJS@
 libaubiocpp_la_LDFLAGS = -version-info @SHARED_VERSION_INFO@