From ea1d479afbb93b76d580aabc1a0ff19eeac07f30 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Sat, 7 Jul 2012 08:57:28 +0200 Subject: [PATCH] apache-httpd-2.4: ensure that libgcc_s can be found at run-time --- pkgs/servers/http/apache-httpd/2.4.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/servers/http/apache-httpd/2.4.nix b/pkgs/servers/http/apache-httpd/2.4.nix index 043a15a984b..01a41cb3e63 100644 --- a/pkgs/servers/http/apache-httpd/2.4.nix +++ b/pkgs/servers/http/apache-httpd/2.4.nix @@ -26,6 +26,9 @@ stdenv.mkDerivation rec { optional ldapSupport openldap ++ # there is no --with-ldap flag optional libxml2Support libxml2; # there is --with-libxml2, but it doesn't work + # Required for ‘pthread_cancel’. + NIX_LDFLAGS = "-lgcc_s"; + configureFlags = '' --with-apr=${apr} --with-apr-util=${aprutil}