From: <sv...@op...> - 2024-07-18 16:26:23
|
Author: manx Date: Thu Jul 18 18:26:16 2024 New Revision: 21197 URL: https://source.openmpt.org/browse/openmpt/?op=revision&rev=21197 Log: [Fix] build: Autotools: Work-around NetBSD toolchain being ignorant of transitive dependencies on libstdc++. Modified: trunk/OpenMPT/build/autotools/configure.ac Modified: trunk/OpenMPT/build/autotools/configure.ac ============================================================================== --- trunk/OpenMPT/build/autotools/configure.ac Thu Jul 18 18:11:02 2024 (r21196) +++ trunk/OpenMPT/build/autotools/configure.ac Thu Jul 18 18:26:16 2024 (r21197) @@ -85,6 +85,12 @@ AC_CANONICAL_HOST +# work-around NetBSD toolchain not understanding transitive shared object dependencies at all +AS_CASE([$host_os], + [netbsd*], [LIBS="$LIBS -lstdc++"], + [] +) + AS_CASE([$host_os], [mingw32*],[ LIBOPENMPT_WIN32_LIBS= |