From 0ded4c13560e873c8c39ee0ba2762dfe1c61659d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim-Philipp=20M=C3=BCller?= Date: Tue, 11 Apr 2017 09:42:49 +0100 Subject: [PATCH] meson: decklink: fix meson configure error on macOS "meson encountered an error in file sys/decklink/meson.build, line 33, column 2: Invalid use of addition: must be str, not list" Also remove nonsensical linker flags on windows. https://bugzilla.gnome.org/show_bug.cgi?id=781156 --- sys/decklink/meson.build | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sys/decklink/meson.build b/sys/decklink/meson.build index df7772775e..b5ca0486a0 100644 --- a/sys/decklink/meson.build +++ b/sys/decklink/meson.build @@ -18,11 +18,10 @@ if libdl.found() and have_pthread_h build_decklink = true elif host_machine.system() == 'darwin' decklink_sources += ['osx/DeckLinkAPIDispatch.cpp'] - decklink_ldflags = '-Wl,-framework,CoreFoundation' + decklink_ldflags = ['-Wl,-framework,CoreFoundation'] build_decklink = true elif host_machine.system() == 'windows' decklink_sources += ['win/DeckLinkAPIDispatch.cpp', 'win/DeckLinkAPI_i.c'] - decklink_ldflags = '-Wl,-framework,CoreFoundation' build_decklink = true else message('Not building decklink plugin for system ' + host_machine.system()) -- 2.34.1