[vlc-commits] contrib: OSX use shared libraries
Rafaël Carré
git at videolan.org
Mon Nov 21 03:35:14 CET 2011
vlc | branch: master | Rafaël Carré <funman at videolan.org> | Sun Nov 20 21:22:05 2011 -0500| [4a7bb89cd823531b1129671d25f91047886b1eb7] | committer: Rafaël Carré
contrib: OSX use shared libraries
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=4a7bb89cd823531b1129671d25f91047886b1eb7
---
contrib/src/main.mak | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/contrib/src/main.mak b/contrib/src/main.mak
index b1d15e2..7410356 100644
--- a/contrib/src/main.mak
+++ b/contrib/src/main.mak
@@ -159,7 +159,12 @@ HOSTCONF := --prefix="$(PREFIX)"
HOSTCONF += --build="$(BUILD)" --host="$(HOST)" --target="$(HOST)"
HOSTCONF += --program-prefix=""
# libtool stuff:
-HOSTCONF += --enable-static --disable-shared --disable-dependency-tracking
+ifdef HAVE_MACOSX
+HOSTCONF += --enable-shared --disable-static
+else
+HOSTCONF += --enable-static --disable-shared
+endif
+HOSTCONF += --disable-dependency-tracking
ifdef HAVE_WIN32
HOSTCONF += --without-pic
PIC :=
More information about the vlc-commits
mailing list