libtool-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

VxWorks RTOS patches for libtool


From: Xin, Peixing
Subject: VxWorks RTOS patches for libtool
Date: Tue, 19 Jan 2021 10:24:23 +0000

Hi ,

 

The patch pasted below is VxWorks patches for libtool. Anyone can help to review and merge it? Thanks.

 

 

From 8976b51c86491aa283ba8b5691d82e6b1b2cef57 Mon Sep 17 00:00:00 2001

From: Peixing Xin <peixing.xin@windriver.com>

Date: Tue, 19 Jan 2021 17:56:00 +0800

Subject: [PATCH] libtool: add VxWorks RTOS support

 

VxWorks uses gcc or llvm to cross-compile libraries.

 

* m4/libtool.m4: Add VxWorks support in

_LT_SYS_DYNAMIC_LINKER and _LT_CHECK_MAGIC_METHOD.

---

m4/libtool.m4 | 10 ++++++++++

1 file changed, 10 insertions(+)

 

diff --git a/m4/libtool.m4 b/m4/libtool.m4

index f2d1f398..8f0c09ee 100644

--- a/m4/libtool.m4

+++ b/m4/libtool.m4

@@ -3103,6 +3103,13 @@ uts4*)

   shlibpath_var=LD_LIBRARY_PATH

   ;;

+vxworks*)

+  version_type=linux # correct to gnu/linux during the next big refactor

+  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'

+  soname_spec='$libname$release$shared_ext$major'

+  shlibpath_var=LD_LIBRARY_PATH

+  ;;

+

*)

   dynamic_linker=no

   ;;

@@ -3643,6 +3650,9 @@ tpf*)

os2*)

   lt_cv_deplibs_check_method=pass_all

   ;;

+vxworks*)

+  lt_cv_deplibs_check_method=pass_all

+  ;;

esac

])

--

2.17.1

 

Thanks,

Peixing

 


reply via email to

[Prev in Thread] Current Thread [Next in Thread]