mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-27 15:38:19 +01:00
Fix for building on macosx.
git-svn-id: svn://localhost/ardour2/trunk@585 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
3c092755b2
commit
2387ef8bfb
2 changed files with 8 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@
|
|||
|
||||
#if (OS_IS_MACOSX == 1)
|
||||
|
||||
#include <CoreServices.h>
|
||||
#include <CoreServices/CoreServices.h>
|
||||
|
||||
int
|
||||
macbinary3_open (SF_PRIVATE *psf)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue