btrfs-progs: hack to make it build on i686-linux

/cc #61086.  I just wanted to unblock channels quickly.
This commit is contained in:
Vladimír Čunát 2019-05-30 09:25:26 +02:00
parent f71eeb3735
commit aa440d8786
No known key found for this signature in database
GPG Key ID: E747DF1F9575A3AA

View File

@ -20,7 +20,8 @@ stdenv.mkDerivation rec {
# for python cross-compiling
_PYTHON_HOST_PLATFORM = stdenv.hostPlatform.config;
postConfigure = ''
# The i686 case is a quick hack; I don't know what's wrong.
postConfigure = stdenv.lib.optionalString (!stdenv.isi686) ''
export LDSHARED="$LD -shared"
'';