Permalink
Browse files

add SNDFILE_CFLAGS to includes for examples.

Patch by Matthew Gregan:
This is required when libsndfile is in a non-standard location,
e.g. /opt/local/{include,libs} on OS X with MacPorts.  configure sets
SNDFILE_CFLAGS correctly (since pkg-config is in the path),
but the examples weren't using this value when building.

git-svn-id: http://svn.annodex.net/libfishsound/trunk@3897 8158c8cd-e7e1-0310-9fa4-c5954c97daef
  • Loading branch information...
1 parent e6e7adf commit 9a29814431fe49f33d2155b5491ba2122db2da75 conrad committed Mar 28, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/examples/Makefile.am
@@ -4,7 +4,7 @@ AM_CFLAGS = -Wall -pedantic -g
INCLUDES = -I$(top_builddir) \
-I$(top_srcdir)/include -I$(top_srcdir)/src/libfishsound \
- $(VORBIS_CFLAGS) $(SPEEX_CFLAGS) $(FLAC_CFLAGS) $(OGGZ_CFLAGS)
+ $(SNDFILE_CFLAGS) $(VORBIS_CFLAGS) $(SPEEX_CFLAGS) $(FLAC_CFLAGS) $(OGGZ_CFLAGS)
FISHSOUNDDIR = ../libfishsound
FISHSOUND_LIBS = $(FISHSOUNDDIR)/libfishsound.la \

0 comments on commit 9a29814

Please sign in to comment.