npapi-vlc | branch: master | Felix Paul Kühne <[email protected]> | Mon Dec 
31 14:04:31 2012 +0100| [930e6ad332a5465f8b4eb46a038a0eec6bb45051] | committer: 
Felix Paul Kühne

Update LDFLAGS and CPPFLAGS for Mac

We don't want to link against Carbon anymore. Removed some cruft.

> http://git.videolan.org/gitweb.cgi/npapi-vlc.git/?a=commit;h=930e6ad332a5465f8b4eb46a038a0eec6bb45051
---

 npapi/Makefile.am |    6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/npapi/Makefile.am b/npapi/Makefile.am
index a96df6d..4e16c86 100644
--- a/npapi/Makefile.am
+++ b/npapi/Makefile.am
@@ -131,7 +131,6 @@ endif
 lib_LTLIBRARIES = npvlc.la
 
 AM_CPPFLAGS += -I. -I$(top_builddir) -c \
-       -Wmost -Wno-four-char-constants -Wno-unknown-pragmas \
        -DXP_UNIX -DXP_MACOSX=1 \
        -DNO_X11=1 -DUSE_SYSTEM_CONSOLE=1 -pipe -fmessage-length=0
 
@@ -139,9 +138,8 @@ SOURCES_support = support/npmac.cpp \
                   vlcplugin_mac.cpp \
                   vlcplugin_mac.h
 libvlcplugin_la_LDFLAGS += \
-       -bundle -Wl,-read_only_relocs -Wl,suppress \
-       -Wl,-headerpad_max_install_names \
-       -Wl,-framework,Carbon -Wl,-framework,System \
+       -bundle -Wl,-headerpad_max_install_names \
+       -Wl,-framework,CoreFoundation -Wl,-framework,ApplicationServices \
        -shrext .dylib
 
 noinst_DATA = VLC\ Plugin.plugin

_______________________________________________
vlc-commits mailing list
[email protected]
http://mailman.videolan.org/listinfo/vlc-commits

Reply via email to