midipix / build / midipix_build

Forked from build/midipix_build 4 years ago
Clone

a0bc86 subr/pkg_install.subr:pkgp_install_dlltool(): pass basename of ${_so_fname} to ${PKG_TARGET}-mdso (via midipix.)

Authored and Committed by Lucio Andrés Illanes Albornoz (arab, vxp) 7 years ago
    subr/pkg_install.subr:pkgp_install_dlltool(): pass basename of ${_so_fname} to ${PKG_TARGET}-mdso (via midipix.)
    subr/pkg_install.subr:pkgp_install_dlltool(): don't skip ${_so_fname} even if -e ${PKG_PREFIX}/lib/${_so_fname##*/}.
    
        
file modified
+2 -3
subr/pkg_install.subr CHANGED
@@ -30,14 +30,13 @@ pkgp_install_dlltool() {
30
30
_lib_fname="${_so_name}${_so_fname_ver:+.${_so_fname_ver}}.lib.a";
31
31
if [ -e "${_lib_fname}" ] \
32
32
|| [ -e "${PKG_PREFIX}/lib/${_lib_fname}" ] \
33
- || [ ! -e "${PKG_PREFIX}/lib/$(basename "${_so_fname}")" ] \
34
33
|| [ "$(readlink -f "${_so_fname}")" = "/dev/null" ]; then
35
34
continue;
36
35
else
37
36
echo perk -e "${_so_fname}" \|\
38
- ${PKG_TARGET}-mdso -i ${_lib_fname} -n "${_so_fname}" -
37
+ ${PKG_TARGET}-mdso -i ${_lib_fname} -n "${_so_fname##*/}" -
39
38
perk -e "${_so_fname}" |\
40
- ${PKG_TARGET}-mdso -i ${_lib_fname} -n "${_so_fname}" -
39
+ ${PKG_TARGET}-mdso -i ${_lib_fname} -n "${_so_fname##*/}" -
41
40
build_fileop cp "${_lib_fname}" "${PKG_PREFIX}/lib";
42
41
fi;
43
42
done;