Skip to content

Commit 192d48e

Browse files
committed
CICD: Fix the macOS Build.
Fix the shared cache error during linking. Signed-off-by: Michael Keller <[email protected]>
1 parent 90457a9 commit 192d48e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

configure.ac

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,11 @@ AS_IF([test "$platform" = "windows"], [
217217
AX_APPEND_COMPILE_FLAGS([-Wno-pedantic-ms-format])
218218
])
219219

220+
# macOS specific compiler options.
221+
AS_IF([test "$platform" = "mac"], [
222+
LDFLAGS="-not_for_dyld_shared_cache $LDFLAGS"
223+
])
224+
220225
# Versioning.
221226
AC_SUBST([DC_VERSION],[dc_version])
222227
AC_SUBST([DC_VERSION_MAJOR],[dc_version_major])

0 commit comments

Comments
 (0)