Skip to content

Commit dbcbf5c

Browse files
committed
Fix ZTS build for Alpine (musl libc)
1 parent 8b15858 commit dbcbf5c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

configure.ac

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ AC_MSG_CHECKING([whether we are using musl libc])
260260
if command -v ldd >/dev/null && ldd --version 2>&1 | grep -q ^musl
261261
then
262262
AC_MSG_RESULT(yes)
263-
CPPFLAGS="$CPPFLAGS -D__MUSL__"
263+
AC_DEFINE([__MUSL__], [1], [Define when using musl libc])
264264
else
265265
AC_MSG_RESULT(no)
266266
fi

0 commit comments

Comments
 (0)