Fix for building on macosx.

git-svn-id: svn://localhost/ardour2/trunk@585 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Taybin Rutkin 2006-06-14 18:15:39 +00:00
parent 3c092755b2
commit 2387ef8bfb
2 changed files with 8 additions and 1 deletions

View file

@ -18,6 +18,13 @@ sndfile.Append(CCFLAGS = "-DVERSION=\\\"ardour-special\\\"")
sndfile.Append(PACKAGE = domain)
sndfile.Append(POTFILE = domain + '.pot')
conf = Configure(sndfile)
if conf.CheckCHeader('/System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h'):
sndfile.Append(LINKFLAGS = "-framework CoreServices")
sndfile = conf.Finish()
libsndfile = sndfile.SharedLibrary('sndfile', sndfile_files)
sndfile_h = sndfile.Command('src/sndfile.h', ['src/sndfile.h.in'], 'cd libs/libsndfile && ./configure && cd -', ENV=os.environ)

View file

@ -27,7 +27,7 @@
#if (OS_IS_MACOSX == 1)
#include <CoreServices.h>
#include <CoreServices/CoreServices.h>
int
macbinary3_open (SF_PRIVATE *psf)