[vlmc-devel] Makefile.am: Add missing macOS LDFLAGS

Hugo Beauzée-Luyssen git at videolan.org
Tue Aug 2 01:00:41 CEST 2016


vlmc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Tue Aug  2 00:39:27 2016 +0200| [f02d538b8baee243585b7506e82fb83efcc25e4d] | committer: Hugo Beauzée-Luyssen

Makefile.am: Add missing macOS LDFLAGS

> https://code.videolan.org/videolan/vlmc/commit/f02d538b8baee243585b7506e82fb83efcc25e4d
---

 Makefile.am | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/Makefile.am b/Makefile.am
index 24d8bee..a915a11 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -159,6 +159,8 @@ vlmc_LDADD = \
 	$(MLTPP_LIBS) \
 	$(NULL)
 
+vlmc_LDFLAGS=
+
 if HAVE_GUI
 vlmc_SOURCES += \
 	src/Commands/KeyboardShortcutHelper.cpp \
@@ -223,6 +225,7 @@ vlmc_SOURCES += \
 
 if HAVE_DARWIN
 vlmc_SOURCES += src/Gui/preview/RenderWidget.mm
+vlmc_LDFLAGS += -Wl,-framework,Cocoa
 endif
 
 vlmc_SOURCES += \



More information about the Vlmc-devel mailing list