Skip to content

Commit

Permalink
Merge pull request NixOS#10752 from darix/libseccomp-configure-cflags
Browse files Browse the repository at this point in the history
Use CFLAGS for libseccomp from pkg-config also for the CFLAGS
  • Loading branch information
Ericson2314 authored May 21, 2024
2 parents ec2a1e4 + 56afe22 commit 3a7d625
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ case "$host_os" in
]))
if test "x$enable_seccomp_sandboxing" != "xno"; then
PKG_CHECK_MODULES([LIBSECCOMP], [libseccomp],
[CXXFLAGS="$LIBSECCOMP_CFLAGS $CXXFLAGS"])
[CXXFLAGS="$LIBSECCOMP_CFLAGS $CXXFLAGS" CFLAGS="$LIBSECCOMP_CFLAGS $CFLAGS"])
have_seccomp=1
AC_DEFINE([HAVE_SECCOMP], [1], [Whether seccomp is available and should be used for sandboxing.])
AC_COMPILE_IFELSE([
Expand Down

0 comments on commit 3a7d625

Please sign in to comment.