mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-20 11:05:14 +00:00
Making gpm generate proper files in $out/lib, that allow good cross-linking. I
had to do this to get the FB driver in links2 - it wants gpm to build, and without these changes, the "-lgpm" did not work. svn path=/nixpkgs/branches/stdenv-updates/; revision=24932
This commit is contained in:
parent
ebe1ebaba8
commit
f7cfcbd1f9
@ -16,6 +16,15 @@ stdenv.mkDerivation rec {
|
|||||||
sed -e 's/[$](MKDIR)/mkdir -p /' -i doc/Makefile.in
|
sed -e 's/[$](MKDIR)/mkdir -p /' -i doc/Makefile.in
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
# Its configure script does not allow --disable-static
|
||||||
|
# Disabling this, we make cross-builds easier, because having
|
||||||
|
# cross-built static libraries we either have to disable stripping
|
||||||
|
# or fixing the gpm users, because there -lgpm will fail.
|
||||||
|
postInstall = ''
|
||||||
|
rm -f $out/lib/*.a
|
||||||
|
ln -s $out/lib/libgpm.so.2 $out/lib/libgpm.so
|
||||||
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
homepage = http://www.nico.schottelius.org/software/gpm/;
|
homepage = http://www.nico.schottelius.org/software/gpm/;
|
||||||
description = "A daemon that provides mouse support on the Linux console";
|
description = "A daemon that provides mouse support on the Linux console";
|
||||||
|
Loading…
Reference in New Issue
Block a user