summaryrefslogtreecommitdiff
path: root/src/video_out/macosx/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'src/video_out/macosx/Makefile.am')
-rw-r--r--src/video_out/macosx/Makefile.am10
1 files changed, 3 insertions, 7 deletions
diff --git a/src/video_out/macosx/Makefile.am b/src/video_out/macosx/Makefile.am
index a69f30dc5..d649dfe1d 100644
--- a/src/video_out/macosx/Makefile.am
+++ b/src/video_out/macosx/Makefile.am
@@ -1,6 +1,6 @@
include $(top_srcdir)/misc/Makefile.common
-AM_CPPFLAGS = -DXINE_COMPILE
+AM_OBJCFLAGS = $(DEFAULT_OCFLAGS) $(VISIBILITY_FLAG)
EXTRA_DIST = \
video_window.h \
@@ -14,12 +14,8 @@ if HAVE_MACOSX_VIDEO
lib_LTLIBRARIES = libxineMacOSXVideo.la
libxineMacOSXVideo_la_SOURCES = XineOpenGLView.m XineVideoWindow.m
-# The "-Wl,-framework -Wl,..." is needed for libtool versions before
-# 1.5.x (1.257): the default version that ships with Mac OS X is 1.5 (1.1220)
-libxineMacOSXVideo_la_LDFLAGS = -version-info \
- $(XINE_LT_CURRENT):$(XINE_LT_REVISION):$(XINE_LT_AGE) \
- -Wl,-framework -Wl,Cocoa -framework Cocoa \
- -Wl,-framework -Wl,OpenGL -framework OpenGL
+libxineMacOSXVideo_la_LDFLAGS = -framework Cocoa -framework OpenGL \
+ -version-info $(XINE_LT_CURRENT):$(XINE_LT_REVISION):$(XINE_LT_AGE)
xineinclude_HEADERS = video_window.h XineOpenGLView.h XineVideoWindow.h