lispPackages.cl-fuse: compile the small wrapper library manually, because for some reason NIX_LDFLAGS get lost with the new binutils wrapper

This commit is contained in:
Michael Raskin 2017-12-19 16:43:18 +01:00
parent 523fae925c
commit e618aad27e

View File

@ -30,6 +30,12 @@ in
configurePhase = ''
export makeFlags="$makeFlags LISP=common-lisp.sh"
'';
preInstall = ''
type gcc
mkdir -p "$out/lib/common-lisp/"
cp -r . "$out/lib/common-lisp/cl-fuse/"
"gcc" "-x" "c" "$out/lib/common-lisp/cl-fuse/fuse-launcher.c-minus" "-fPIC" "--shared" "-lfuse" "-o" "$out/lib/common-lisp/cl-fuse/libfuse-launcher.so"
'';
};
};
hunchentoot = addNativeLibs [pkgs.openssl];