mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-02 07:31:26 +00:00
fix references to ${libtool}/lib
This commit is contained in:
parent
b9d2c364a1
commit
1197003966
@ -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 ];
|
||||
|
@ -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";
|
||||
|
@ -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
|
||||
'';
|
||||
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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 = {
|
||||
|
Loading…
Reference in New Issue
Block a user