about summary refs log tree commit diff
path: root/make/lib
diff options
context:
space:
mode:
Diffstat (limited to 'make/lib')
-rw-r--r--make/lib/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/make/lib/default.nix b/make/lib/default.nix
index a5059252daa7..a9b17d2ced77 100644
--- a/make/lib/default.nix
+++ b/make/lib/default.nix
@@ -8,7 +8,7 @@ rec {
   stdenv = pkgs.stdenv;
   
 
-  compileC = {main, localIncludes ? [], cFlags ? "", forSharedLib ? false}:
+  compileC = {main, localIncludes ? "auto", cFlags ? "", sharedLib ? false}:
   stdenv.mkDerivation {
     name = "compile-c";
     builder = ./compile-c.sh;
@@ -24,7 +24,7 @@ rec {
     inherit main;
     cFlags = [
       cFlags
-      (if forSharedLib then ["-fpic"] else [])
+      (if sharedLib then ["-fpic"] else [])
     ];
   };