|
Lucio Andrés Illanes Albornoz (arab, vxp) |
1d0876 |
#
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
1d0876 |
# . ./build.vars and set -o errexit are assumed.
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
1d0876 |
#
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
1d0876 |
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
ce7607 |
pkg_libelf_install_post() {
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
1d0876 |
if ! is_build_script_done install2; then
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
ce7607 |
rm -f lib/libelf.def;
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
ce7607 |
echo EXPORTS > lib/libelf.def;
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
ce7607 |
perk -e lib/libelf.so >> lib/libelf.def;
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
ce7607 |
${HOST_NATIVE}-dlltool \
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
ce7607 |
--output-lib lib/libelf.lib.a \
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
ce7607 |
--dllname libelf.so \
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
ce7607 |
--input-def lib/libelf.def;
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
ce7607 |
cp lib/libelf.lib.a ${PREFIX}/lib;
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
1d0876 |
set_build_script_done install2 -finish;
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
ce7607 |
fi;
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
ce7607 |
};
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
ce7607 |
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
ce7607 |
# vim:filetype=sh
|