Conan_Kudo / build / midipix_build

Forked from build/midipix_build 4 years ago
Clone

Blame 104.libelf.vars

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) 0724e5
	rm -f lib/libelf.def;
Lucio Andrés Illanes Albornoz (arab, vxp) 0724e5
	echo EXPORTS > lib/libelf.def;
Lucio Andrés Illanes Albornoz (arab, vxp) 0724e5
	perk -e lib/libelf.so >> lib/libelf.def;
Lucio Andrés Illanes Albornoz (arab, vxp) 0724e5
	${HOST_NATIVE}-dlltool			\
Lucio Andrés Illanes Albornoz (arab, vxp) 0724e5
		--output-lib lib/libelf.lib.a	\
Lucio Andrés Illanes Albornoz (arab, vxp) 0724e5
		--dllname libelf.so		\
Lucio Andrés Illanes Albornoz (arab, vxp) 0724e5
		--input-def lib/libelf.def;
Lucio Andrés Illanes Albornoz (arab, vxp) 0724e5
	cp lib/libelf.lib.a ${PREFIX}/lib;
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