mini-httpd: fix build with boost 1.89 (#516367)

This commit is contained in:
Michael Daniels
2026-05-25 01:36:18 +00:00
committed by GitHub
2 changed files with 20 additions and 0 deletions
+7
View File
@@ -2,6 +2,7 @@
lib,
stdenv,
fetchurl,
autoreconfHook,
boost,
}:
@@ -14,6 +15,12 @@ stdenv.mkDerivation (finalAttrs: {
sha256 = "0jggmlaywjfbdljzv5hyiz49plnxh0har2bnc9dq4xmj1pmjgs49";
};
patches = [
./remove-boost-system.patch
];
nativeBuildInputs = [ autoreconfHook ];
buildInputs = [ boost ];
enableParallelBuilding = true;
@@ -0,0 +1,13 @@
diff --git a/configure.ac b/configure.ac
index fd06d1a..337178c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -14,8 +14,6 @@ AC_PROG_RANLIB
AC_LANG([C++])
AC_CHECK_HEADER(boost/spirit.hpp, :,
AC_MSG_ERROR([Cannot find the Boost library headers! See the README for details.]))
-AC_CHECK_LIB([boost_system], [main], [LIBS="-lboost_system"],
- [AC_MSG_ERROR([cannot link required boost.system library])])
gl_INIT
AC_SYS_LARGEFILE