tools-musl: move ld-musl-<arch>.path to /etc

This commit is contained in:
Anthony G. Basile 2014-08-23 12:03:33 -04:00
parent 6ec34a2b15
commit 7edbafbe87
7 changed files with 70 additions and 70 deletions

View file

@ -2,14 +2,14 @@ post_src_install() {
[[ $PN != musl ]] && return 0
local LDSO_ARCH=$(basename "${D}"/lib/ld-musl-*.so.1)
mkdir "${D}"/usr/etc
cat > "${D}"/usr/etc/${LDSO_ARCH%so.1}path <<EOF
/lib
/usr/lib
/usr/local/lib
/usr/lib/opengl/xorg-x11/lib
/usr/lib/gcc/${CHOST}/4.7.4
/usr/${CHOST}/lib
/usr/games/lib
EOF
mkdir "${D}"/etc
cat <<- EOF > "${D}"/etc/${LDSO_ARCH%so.1}path
/lib
/usr/lib
/usr/local/lib
/usr/lib/opengl/xorg-x11/lib
/usr/lib/gcc/${CHOST}/4.7.4
/usr/${CHOST}/lib
/usr/games/lib
EOF
}

View file

@ -2,14 +2,14 @@ post_src_install() {
[[ $PN != musl ]] && return 0
local LDSO_ARCH=$(basename "${D}"/lib/ld-musl-*.so.1)
mkdir "${D}"/usr/etc
cat > "${D}"/usr/etc/${LDSO_ARCH%so.1}path <<EOF
/lib
/usr/lib
/usr/local/lib
/usr/lib/opengl/xorg-x11/lib
/usr/lib/gcc/${CHOST}/4.7.7
/usr/${CHOST}/lib
/usr/games/lib
EOF
mkdir "${D}"/etc
cat <<- EOF > "${D}"/etc/${LDSO_ARCH%so.1}path
/lib
/usr/lib
/usr/local/lib
/usr/lib/opengl/xorg-x11/lib
/usr/lib/gcc/${CHOST}/4.7.4
/usr/${CHOST}/lib
/usr/games/lib
EOF
}

View file

@ -2,14 +2,14 @@ post_src_install() {
[[ $PN != musl ]] && return 0
local LDSO_ARCH=$(basename "${D}"/lib/ld-musl-*.so.1)
mkdir "${D}"/usr/etc
cat > "${D}"/usr/etc/${LDSO_ARCH%so.1}path <<EOF
/lib
/usr/lib
/usr/local/lib
/usr/lib/opengl/xorg-x11/lib
/usr/lib/gcc/${CHOST}/4.7.4
/usr/${CHOST}/lib
/usr/games/lib
EOF
mkdir "${D}"/etc
cat <<- EOF > "${D}"/etc/${LDSO_ARCH%so.1}path
/lib
/usr/lib
/usr/local/lib
/usr/lib/opengl/xorg-x11/lib
/usr/lib/gcc/${CHOST}/4.7.4
/usr/${CHOST}/lib
/usr/games/lib
EOF
}

View file

@ -2,14 +2,14 @@ post_src_install() {
[[ $PN != musl ]] && return 0
local LDSO_ARCH=$(basename "${D}"/lib/ld-musl-*.so.1)
mkdir "${D}"/usr/etc
cat > "${D}"/usr/etc/${LDSO_ARCH%so.1}path <<EOF
/lib
/usr/lib
/usr/local/lib
/usr/lib/opengl/xorg-x11/lib
/usr/lib/gcc/${CHOST}/4.7.4
/usr/${CHOST}/lib
/usr/games/lib
EOF
mkdir "${D}"/etc
cat <<- EOF > "${D}"/etc/${LDSO_ARCH%so.1}path
/lib
/usr/lib
/usr/local/lib
/usr/lib/opengl/xorg-x11/lib
/usr/lib/gcc/${CHOST}/4.7.4
/usr/${CHOST}/lib
/usr/games/lib
EOF
}

View file

@ -2,14 +2,14 @@ post_src_install() {
[[ $PN != musl ]] && return 0
local LDSO_ARCH=$(basename "${D}"/lib/ld-musl-*.so.1)
mkdir "${D}"/usr/etc
cat > "${D}"/usr/etc/${LDSO_ARCH%so.1}path <<EOF
/lib
/usr/lib
/usr/local/lib
/usr/lib/opengl/xorg-x11/lib
/usr/lib/gcc/${CHOST}/4.7.4
/usr/${CHOST}/lib
/usr/games/lib
EOF
mkdir "${D}"/etc
cat <<- EOF > "${D}"/etc/${LDSO_ARCH%so.1}path
/lib
/usr/lib
/usr/local/lib
/usr/lib/opengl/xorg-x11/lib
/usr/lib/gcc/${CHOST}/4.7.4
/usr/${CHOST}/lib
/usr/games/lib
EOF
}

View file

@ -2,14 +2,14 @@ post_src_install() {
[[ $PN != musl ]] && return 0
local LDSO_ARCH=$(basename "${D}"/lib/ld-musl-*.so.1)
mkdir "${D}"/usr/etc
cat > "${D}"/usr/etc/${LDSO_ARCH%so.1}path <<EOF
/lib
/usr/lib
/usr/local/lib
/usr/lib/opengl/xorg-x11/lib
/usr/lib/gcc/${CHOST}/4.7.3
/usr/${CHOST}/lib
/usr/games/lib
EOF
mkdir "${D}"/etc
cat <<- EOF > "${D}"/etc/${LDSO_ARCH%so.1}path
/lib
/usr/lib
/usr/local/lib
/usr/lib/opengl/xorg-x11/lib
/usr/lib/gcc/${CHOST}/4.7.4
/usr/${CHOST}/lib
/usr/games/lib
EOF
}

View file

@ -2,14 +2,14 @@ post_src_install() {
[[ $PN != musl ]] && return 0
local LDSO_ARCH=$(basename "${D}"/lib/ld-musl-*.so.1)
mkdir "${D}"/usr/etc
cat > "${D}"/usr/etc/${LDSO_ARCH%so.1}path <<EOF
/lib
/usr/lib
/usr/local/lib
/usr/lib/opengl/xorg-x11/lib
/usr/lib/gcc/${CHOST}/4.7.4
/usr/${CHOST}/lib
/usr/games/lib
EOF
mkdir "${D}"/etc
cat <<- EOF > "${D}"/etc/${LDSO_ARCH%so.1}path
/lib
/usr/lib
/usr/local/lib
/usr/lib/opengl/xorg-x11/lib
/usr/lib/gcc/${CHOST}/4.7.4
/usr/${CHOST}/lib
/usr/games/lib
EOF
}