diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2013-10-11 17:11:54 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2013-10-11 17:11:54 +0200 |
commit | 2e130d2486b6dea4a6f0cb3f09bb8e0d97efb188 (patch) | |
tree | 2f255fb05fdeff004bea67a5837bdc5d5af7aaf1 /package/libstdcxx/Makefile | |
parent | 992497f936f7dc4e791c7af4c3b2103f5d5e990d (diff) |
fix broken symlinks
Diffstat (limited to 'package/libstdcxx/Makefile')
-rw-r--r-- | package/libstdcxx/Makefile | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/package/libstdcxx/Makefile b/package/libstdcxx/Makefile index f56753b94..234108f6c 100644 --- a/package/libstdcxx/Makefile +++ b/package/libstdcxx/Makefile @@ -20,6 +20,11 @@ PKG_NAME:= libstdcxx PKG_DESCR:= C++ support library PKG_SECTION:= libs PKG_NEED_CXX:= 1 +ifeq ($(ADK_LINUX_AVR32),y) +PKG_SUBVER:= 14 +else +PKG_SUBVER:= 17 +endif NO_DISTFILES:= 1 @@ -36,10 +41,10 @@ do-install: ifeq ($(ADK_NATIVE),y) $(CP) /usr/lib/libstdc++.so* ${IDIR_LIBSTDCXX}/usr/lib else - (cd ${IDIR_LIBSTDCXX}/usr/${ADK_TARGET_LIBC_PATH}; ln -sf libstdc++.so.6.0.1? libstdc++.so.6) - (cd ${IDIR_LIBSTDCXX}/usr/${ADK_TARGET_LIBC_PATH}; ln -sf libstdc++.so.6.0.1? libstdc++.so) - (cd ${STAGING_TARGET_DIR}/${ADK_TARGET_LIBC_PATH}/; ln -sf libstdc++.so.6.0.1? libstdc++.so) - $(CP) ${STAGING_TARGET_DIR}/${ADK_TARGET_LIBC_PATH}/libstdc++.so.6.0.1? ${IDIR_LIBSTDCXX}/usr/${ADK_TARGET_LIBC_PATH} + (cd ${IDIR_LIBSTDCXX}/usr/${ADK_TARGET_LIBC_PATH}; ln -sf libstdc++.so.6.0.${PKG_SUBVER} libstdc++.so.6) + (cd ${IDIR_LIBSTDCXX}/usr/${ADK_TARGET_LIBC_PATH}; ln -sf libstdc++.so.6.0.${PKG_SUBVER} libstdc++.so) + (cd ${STAGING_TARGET_DIR}/${ADK_TARGET_LIBC_PATH}/; ln -sf libstdc++.so.6.0.${PKG_SUBVER} libstdc++.so) + $(CP) ${STAGING_TARGET_DIR}/${ADK_TARGET_LIBC_PATH}/libstdc++.so.6.0.${PKG_SUBVER} ${IDIR_LIBSTDCXX}/usr/${ADK_TARGET_LIBC_PATH} -@rm ${IDIR_LIBSTDCXX}/usr/${ADK_TARGET_LIBC_PATH}/libstdc++.so.*-gdb.py endif |