diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2012-04-02 10:45:26 +0200 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2012-12-17 15:13:42 +0100 |
commit | 98002fb28048d96366d4b41400e271ebf5054039 (patch) | |
tree | 7384372c77092ee928d2d9e505ab683047756e0a | |
parent | 40bbbb6434d79f66bd494477739048b61a834a26 (diff) | |
download | ptxdist-98002fb28048d96366d4b41400e271ebf5054039.tar.gz ptxdist-98002fb28048d96366d4b41400e271ebf5054039.tar.xz |
ptxd_install_toolchain_lib: use ptxd_install_shared
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rwxr-xr-x | scripts/install_copy_toolchain.sh | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/scripts/install_copy_toolchain.sh b/scripts/install_copy_toolchain.sh index 1fda845b9..791a83ea5 100755 --- a/scripts/install_copy_toolchain.sh +++ b/scripts/install_copy_toolchain.sh @@ -212,22 +212,7 @@ ptxd_install_toolchain_lib() { perm="$(stat -c %a "${lib_path}")" - echo "ptxd_install_file \"${lib_path}\" \"${prefix}/${lib}\" 0 0 \"${perm}\" \"${strip}\"" >> "${STATEDIR}/${packet}.cmds" - - # now create some links to that lib - # e.g. libstdc++.so.6 -> libstdc++.so.6.6.6 - - # the fullversion (6.6.6) - v_full="${lib#*.so.}" - # library name with major version (libstdc++.so.6) - lib_v_major="${lib%${v_full}}${v_full%%.*}" - - if test "${v_full}" != "${lib}" -a \ - "${lib_v_major}" != "${lib}"; then - echo "extra link - ${prefix}/${lib_v_major}" - - echo "ptxd_install_link \"${lib}\" \"${prefix}/${lib_v_major}\"" >> "${STATEDIR}/${packet}.cmds" - fi + echo "ptxd_install_shared \"${lib_path}\" \"${prefix}\" 0 0 \"${perm}\"" >> "${STATEDIR}/${packet}.cmds" fi else echo "error: found ${lib_path}, but neither file nor link" 2>&1 |