summary refs log tree commit diff
path: root/pkgs/stdenv/cygwin
diff options
context:
space:
mode:
authorMartin Bravenboer <martin.bravenboer@logicblox.com>2006-07-24 21:20:49 +0000
committerMartin Bravenboer <martin.bravenboer@logicblox.com>2006-07-24 21:20:49 +0000
commit835f452e7086b9ce6190b5faffeb6e57c6332f7f (patch)
tree1c9742001b1dbb848a96be074d6cd4d6b433ab35 /pkgs/stdenv/cygwin
parent1e03169e841e26db867112f65d6f8dc6888bb3a1 (diff)
downloadnixpkgs-835f452e7086b9ce6190b5faffeb6e57c6332f7f.tar
nixpkgs-835f452e7086b9ce6190b5faffeb6e57c6332f7f.tar.gz
nixpkgs-835f452e7086b9ce6190b5faffeb6e57c6332f7f.tar.bz2
nixpkgs-835f452e7086b9ce6190b5faffeb6e57c6332f7f.tar.lz
nixpkgs-835f452e7086b9ce6190b5faffeb6e57c6332f7f.tar.xz
nixpkgs-835f452e7086b9ce6190b5faffeb6e57c6332f7f.tar.zst
nixpkgs-835f452e7086b9ce6190b5faffeb6e57c6332f7f.zip
* Allow packages to enabled shared libraries on cygwin.
(ideally, this should be the other way around, but I have no idea how
many packages will break if we enable shared libraries by default)


svn path=/nixpkgs/trunk/; revision=5923
Diffstat (limited to 'pkgs/stdenv/cygwin')
-rw-r--r--pkgs/stdenv/cygwin/prehook.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/pkgs/stdenv/cygwin/prehook.sh b/pkgs/stdenv/cygwin/prehook.sh
index c9feff99167..673640c0d4a 100644
--- a/pkgs/stdenv/cygwin/prehook.sh
+++ b/pkgs/stdenv/cygwin/prehook.sh
@@ -1,2 +1,5 @@
 export NIX_ENFORCE_PURITY=
-export configureFlags="$configureFlags --disable-shared"
+
+if test -z "$cygwinConfigureEnableShared"; then
+  export configureFlags="$configureFlags --disable-shared"
+fi