[vlc-devel] [PATCH] contrib: srt: Patch to add '-lc++' to private linking flags for apple
David Fuhrmann
david.fuhrmann at gmail.com
Sat Dec 9 09:31:09 CET 2017
> Am 08.12.2017 um 21:27 schrieb Konstantin Pavlov <thresh at videolan.org>:
>
> It's also needed on Debian at least.
Hi,
The author if that library does a similar thing above my patch for Linux:
if (ENABLE_C_DEPS)
if ( LINUX )
set (IFNEEDED_SRT_LDFLAGS "${IFNEEDED_SRT_LDFLAGS} -lstdc++ -lm")
endif()
endif()
But I agree its weird to switch between different stdc++ libs by platform.
I’m currently investigating a better way.
BR. David
More information about the vlc-devel
mailing list