SDL now copies Objective-C support files.

Mac OS X projects that use SDL through Objective-C may
require the "SDLmain" support files.

Since these are not strictly header files, they are not
installed into include by default, so we put them in our
libexec folder.
This commit is contained in:
Adam Vandenberg 2009-09-25 15:32:17 -07:00 committed by Max Howell
parent b7a6a4420d
commit 5b067d5c95

View file

@ -14,7 +14,10 @@ class Sdl <Formula
system "./configure", "--prefix=#{prefix}", "--disable-debug", system "./configure", "--prefix=#{prefix}", "--disable-debug",
"--disable-dependency-tracking", "--disable-dependency-tracking",
"--disable-video-x11", "--disable-video-x11",
"--disable-nasm" # seems essential to build on 10.6 "--disable-nasm"
system "make install" system "make install"
# Copy source files needed for Ojective-C support.
libexec.install Dir["src/main/macosx/*"]
end end
end end