libffi: remove unneeded build workaround

This commit is contained in:
Dylan Araps 2019-10-02 18:17:08 +03:00
parent bf342412bf
commit 205deac4e9
No known key found for this signature in database
GPG Key ID: 46D62DD9F1DE636E

View File

@ -1,18 +1,5 @@
#!/bin/sh -e
# If 'file' is not available, mimic the output
# required for KISS.
mkdir -p fakebin
cat > fakebin/file <<EOF
#!/bin/sh
echo 64-bit
EOF
chmod +x fakebin/file
export PATH=$PATH:$PWD/fakebin
# Use 'file' from '$PATH'.
sed -i'' "s|/usr/bin/file|file|g" configure
./configure \
--prefix=/usr \
--with-pic