aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2012-07-07 20:28:03 +0200
committerLudovic Courtès <ludo@gnu.org>2012-07-07 20:28:03 +0200
commit466af8e8ddf70bc70d9a141590bdd78dd7cfd1f4 (patch)
tree36fe57f8f22b3befb7ef8baba0139bad1fc4dda3
parent6332da77f69e1d244132b6a4dfa452c11dfaf864 (diff)
downloadpatches-466af8e8ddf70bc70d9a141590bdd78dd7cfd1f4.tar
patches-466af8e8ddf70bc70d9a141590bdd78dd7cfd1f4.tar.gz
distro: guile-2.0: Propagate libunistring and Libtool.
* distro/base.scm (guile-2.0): Propagate libunistring and Libtool.
-rw-r--r--distro/base.scm20
1 files changed, 13 insertions, 7 deletions
diff --git a/distro/base.scm b/distro/base.scm
index 91c79811c4..0a87948af3 100644
--- a/distro/base.scm
+++ b/distro/base.scm
@@ -173,15 +173,21 @@ extensible. It supports many SRFIs.")
(build-system gnu-build-system)
(native-inputs `(("xz" ,(nixpkgs-derivation "xz"))
("pkgconfig" ,(nixpkgs-derivation "pkgconfig"))))
- (inputs `(("libunistring" ,(nixpkgs-derivation "libunistring"))
- ("libffi" ,(nixpkgs-derivation "libffi"))
- ("libtool" ,(nixpkgs-derivation "libtool"))
+ (inputs `(("libffi" ,(nixpkgs-derivation "libffi"))
("readline" ,(nixpkgs-derivation "readline"))))
- ;; The headers and/or `guile-2.0.pc' refer to these packages, so they must
- ;; be propagated.
- (propagated-inputs `(("bdw-gc" ,(nixpkgs-derivation "boehmgc"))
- ("gmp" ,(nixpkgs-derivation "gmp"))))
+ (propagated-inputs
+ `( ;; These ones aren't normally needed here, but since `libguile-2.0.la'
+ ;; reads `-lltdl -lunistring', adding them here will add the needed
+ ;; `-L' flags. As for why the `.la' file lacks the `-L' flags, see
+ ;; <http://thread.gmane.org/gmane.comp.lib.gnulib.bugs/18903>.
+ ("libunistring" ,(nixpkgs-derivation "libunistring"))
+ ("libtool" ,(nixpkgs-derivation "libtool"))
+
+ ;; The headers and/or `guile-2.0.pc' refer to these packages, so they
+ ;; must be propagated.
+ ("bdw-gc" ,(nixpkgs-derivation "boehmgc"))
+ ("gmp" ,(nixpkgs-derivation "gmp"))))
(self-native-input? #t)