about summary refs log tree commit diff
path: root/pkgs/servers
diff options
context:
space:
mode:
authorPeter Simons <simons@cryp.to>2012-07-07 08:57:28 +0200
committerPeter Simons <simons@cryp.to>2012-07-07 08:57:28 +0200
commitea1d479afbb93b76d580aabc1a0ff19eeac07f30 (patch)
tree6a27b9caa754e3d5b5f0320f7c22d6ec2d81c30b /pkgs/servers
parentc870b805124ad92642b8b407d1585d967dc3a884 (diff)
apache-httpd-2.4: ensure that libgcc_s can be found at run-time
Diffstat (limited to 'pkgs/servers')
-rw-r--r--pkgs/servers/http/apache-httpd/2.4.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/servers/http/apache-httpd/2.4.nix b/pkgs/servers/http/apache-httpd/2.4.nix
index 043a15a984b4b..01a41cb3e6354 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}