* Patch for getting dynamic libraries to build on Mac OS X 10.5.
svn path=/nixpkgs/trunk/; revision=9943
This commit is contained in:
parent
ae979c46a9
commit
1b3aa6482d
@ -7,4 +7,5 @@ stdenv.mkDerivation {
|
|||||||
md5 = "e39331f32ad14009b9ff49cc10c5e751";
|
md5 = "e39331f32ad14009b9ff49cc10c5e751";
|
||||||
};
|
};
|
||||||
propagatedBuildInputs = [ncurses];
|
propagatedBuildInputs = [ncurses];
|
||||||
|
patches = stdenv.lib.optional stdenv.isDarwin ./shobj-darwin.patch;
|
||||||
}
|
}
|
||||||
|
11
pkgs/development/libraries/readline/shobj-darwin.patch
Normal file
11
pkgs/development/libraries/readline/shobj-darwin.patch
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
--- a/support/shobj-conf.orig 2006-04-11 06:15:43.000000000 -0700
|
||||||
|
+++ b/support/shobj-conf 2007-11-08 01:15:43.000000000 -0800
|
||||||
|
@@ -171,7 +171,7 @@
|
||||||
|
SHLIB_LIBSUFF='dylib'
|
||||||
|
|
||||||
|
case "${host_os}" in
|
||||||
|
- darwin[78]*) SHOBJ_LDFLAGS=''
|
||||||
|
+ darwin[789]*) SHOBJ_LDFLAGS=''
|
||||||
|
SHLIB_XLDFLAGS='-dynamiclib -arch_only `/usr/bin/arch` -install_name $(libdir)/$@ -current_version $(SHLIB_MAJOR)$(SHLIB_MINOR) -compatibility_version $(SHLIB_MAJOR) -v'
|
||||||
|
;;
|
||||||
|
*) SHOBJ_LDFLAGS='-dynamic'
|
Loading…
x
Reference in New Issue
Block a user