2021-05-14 17:23:11 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
2022-07-12 17:55:52 +00:00
|
|
|
SCRIPT_SKIP="1"
|
|
|
|
|
2021-05-14 17:23:11 +00:00
|
|
|
ffbuild_enabled() {
|
|
|
|
[[ $TARGET == linux* ]]
|
|
|
|
}
|
|
|
|
|
|
|
|
ffbuild_dockerfinal() {
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2023-06-18 14:44:57 +00:00
|
|
|
ffbuild_dockerdl() {
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2021-05-14 17:23:11 +00:00
|
|
|
ffbuild_dockerlayer() {
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
ffbuild_dockerstage() {
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2023-06-18 14:44:57 +00:00
|
|
|
ffbuild_dockerlayer_dl() {
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2021-05-14 17:23:11 +00:00
|
|
|
ffbuild_dockerbuild() {
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2021-05-14 20:06:51 +00:00
|
|
|
ffbuild_ldexeflags() {
|
|
|
|
echo '-pie'
|
|
|
|
|
2021-05-14 17:23:11 +00:00
|
|
|
if [[ $VARIANT == *shared* ]]; then
|
|
|
|
# Can't escape escape hell
|
2021-05-14 20:06:51 +00:00
|
|
|
echo -Wl,-rpath='\\\\\\\$\\\$ORIGIN'
|
|
|
|
echo -Wl,-rpath='\\\\\\\$\\\$ORIGIN/../lib'
|
2021-05-14 17:23:11 +00:00
|
|
|
fi
|
|
|
|
}
|