mirror of
https://code.videolan.org/videolan/vlc
synced 2024-09-04 09:11:33 +02:00
* enable SDK building for Mac PPC contrib.
This commit is contained in:
parent
386b36feda
commit
d4f0ff7712
@ -63,11 +63,21 @@ case $HOST in
|
||||
EXTRA_CPPFLAGS=" -no-cpp-precomp"
|
||||
echo "PATH = /bin:/usr/bin" >> config.mak
|
||||
;;
|
||||
powerpc-apple-darwin8|i686-apple-darwin8)
|
||||
powerpc-apple-darwin8)
|
||||
# Mac OS X 10.4
|
||||
# Makefile cross compiling is only supported with gcc-4.0
|
||||
# ENVP defines the oldest environment on which the program will be able to run
|
||||
# SDK 10.2.8 requires gcc-3.3 (so we cannot use that SDK)
|
||||
SDK_TARGET=10.3
|
||||
echo "SDK_TARGET = ${SDK_TARGET}" >> config.mak
|
||||
echo "HAVE_DARWIN_OS = 1" >> config.mak
|
||||
echo "ENVP = MACOSX_DEPLOYMENT_TARGET=${SDK_TARGET}" >> config.mak
|
||||
echo "MACOSX_SDK = /Developer/SDKs/MacOSX10.3.9.sdk" >> config.mak
|
||||
EXTRA_CFLAGS=" -D\${ENVP} -isysroot \${MACOSX_SDK}"
|
||||
EXTRA_LDFLAGS=" -isysroot \${MACOSX_SDK} -Wl,-syslibroot,\${MACOSX_SDK}"
|
||||
echo "PATH = /bin:/usr/bin:/usr/local/bin" >> config.mak
|
||||
;;
|
||||
i686-apple-darwin8)
|
||||
SDK_TARGET=10.3
|
||||
echo "SDK_TARGET = ${SDK_TARGET}" >> config.mak
|
||||
echo "HAVE_DARWIN_OS = 1" >> config.mak
|
||||
|
Loading…
Reference in New Issue
Block a user