fix references to ${libtool}/lib

This commit is contained in:
Vladimír Čunát 2015-10-06 13:23:53 +02:00
parent b9d2c364a1
commit 1197003966
6 changed files with 9 additions and 7 deletions

View File

@ -11,7 +11,8 @@ stdenv.mkDerivation rec {
postInstall = ''
wrapProgram "$out/bin/xca" \
--prefix LD_LIBRARY_PATH : "${qt4}/lib:${gcc.cc}/lib:${gcc.cc}/lib64:${openssl}/lib:${libtool}/lib"
--prefix LD_LIBRARY_PATH : \
"${gcc.cc.lib}/lib64:${stdenv.lib.makeLibraryPath [ qt4 gcc.cc openssl libtool ]}"
'';
buildInputs = [ openssl qt4 libtool gcc makeWrapper ];

View File

@ -143,8 +143,8 @@ stdenv.mkDerivation rec {
++ stdenv.lib.optional busMouse "--enable-busmouse"
;
NIX_CFLAGS_COMPILE="-I${gtk}/include/gtk-2.0/ -I${libtool}/include/";
NIX_LDFLAGS="-L${libtool}/lib";
NIX_CFLAGS_COMPILE="-I${gtk.dev}/include/gtk-2.0/ -I${libtool}/include/";
NIX_LDFLAGS="-L${libtool.lib}/lib";
meta = with stdenv.lib; {
description = "An open-source IA-32 (x86) PC emulator";

View File

@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
postInstall = ''
for f in $out/lib/*.la; do
sed 's|-lltdl|-L${libtool}/lib -lltdl|' -i $f
sed 's|-lltdl|-L${libtool.lib}/lib -lltdl|' -i $f
done
'';

View File

@ -29,7 +29,7 @@ stdenv.mkDerivation rec {
configureFlags = "--disable-ltdl-install "
+ "--with-ltdl-include=${libtool}/include "
+ "--with-ltdl-lib=${libtool}/lib "
+ "--with-ltdl-lib=${libtool.lib}/lib "
+ "--enable-xpdf";
# Checks need to be run after "make install", otherwise plug-ins are not in

View File

@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
ar x opensc-dnie*
tar xf data.tar.gz
RPATH=${glib}/lib:${opensc}/lib:${openssl}/lib:${openct}/lib:${libtool}/lib:${pcsclite}/lib:${stdenv.cc.libc.out}/lib:${zlib}/lib
RPATH=${stdenv.lib.makeLibraryPath [ glib opensc openssl openct libtool pcsclite stdenv.cc.libc zlib ]}
for a in "usr/lib/"*.so*; do
if ! test -L $a; then

View File

@ -110,7 +110,8 @@ stdenv.mkDerivation rec {
postInstall = lib.optionalString libOnly ''
rm -rf $out/{bin,share,etc,lib/{pulse-*,systemd}}
sed 's|-lltdl|-L${libtool}/lib -lltdl|' -i $out/lib/libpulsecore-${version}.la
sed 's|-lltdl|-L${libtool.lib}/lib -lltdl|' -i $out/lib/libpulsecore-${version}.la
_moveToOutput lib/cmake "$dev"
'';
meta = {