summary refs log tree commit diff
path: root/pkgs/development/libraries/opencascade
diff options
context:
space:
mode:
authorLluís Batlle i Rossell <viric@vicerveza.homeunix.net>2010-02-18 10:25:33 +0000
committerLluís Batlle i Rossell <viric@vicerveza.homeunix.net>2010-02-18 10:25:33 +0000
commit5fc64e5f9cd6def6a22cb518b5549280af084ebe (patch)
tree01168ec63b02e9348f2919e2ffea4472a2c0b7fd /pkgs/development/libraries/opencascade
parent513443dc9f3b2d486d82fa718b393e899260f905 (diff)
downloadnixlib-5fc64e5f9cd6def6a22cb518b5549280af084ebe.tar
nixlib-5fc64e5f9cd6def6a22cb518b5549280af084ebe.tar.gz
nixlib-5fc64e5f9cd6def6a22cb518b5549280af084ebe.tar.bz2
nixlib-5fc64e5f9cd6def6a22cb518b5549280af084ebe.tar.lz
nixlib-5fc64e5f9cd6def6a22cb518b5549280af084ebe.tar.xz
nixlib-5fc64e5f9cd6def6a22cb518b5549280af084ebe.tar.zst
nixlib-5fc64e5f9cd6def6a22cb518b5549280af084ebe.zip
Again, trying to fix the kernel build.
It seems that there is no make target named 'vmlinuz' that makes the file 'vmlinuz'.
So we need different variables for the make target and the kernel file. Unless we
some day stop using the file 'vmlinuz' in pc, and use bzImage.

svn path=/nixpkgs/trunk/; revision=20092
Diffstat (limited to 'pkgs/development/libraries/opencascade')
-rw-r--r--pkgs/development/libraries/opencascade/default.nix5
1 files changed, 4 insertions, 1 deletions
diff --git a/pkgs/development/libraries/opencascade/default.nix b/pkgs/development/libraries/opencascade/default.nix
index 2f178edccd5e..56c97f7686e5 100644
--- a/pkgs/development/libraries/opencascade/default.nix
+++ b/pkgs/development/libraries/opencascade/default.nix
@@ -9,7 +9,10 @@ stdenv.mkDerivation rec {
 
   buildInputs = [ mesa qt4 tcl tk];
 
-  preConfigure = "cd ros";
+  preConfigure = ''
+    export LDFLAGS=-L$out/lib
+    cd ros
+  '';
 
   postInstall = ''
     mv $out/inc $out/include