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
This commit is contained in:
Tim-Philipp Müller 2017-04-11 09:42:49 +01:00
parent 456153cec9
commit 0ded4c1356

View file

@ -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())