mirror of
https://codeberg.org/kiss-community/repo
synced 2024-07-08 00:42:28 +00:00
libffi: remove unneeded build workaround
This commit is contained in:
parent
bf342412bf
commit
205deac4e9
|
@ -1,18 +1,5 @@
|
||||||
#!/bin/sh -e
|
#!/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 \
|
./configure \
|
||||||
--prefix=/usr \
|
--prefix=/usr \
|
||||||
--with-pic
|
--with-pic
|
||||||
|
|
Loading…
Reference in New Issue
Block a user