[PATCH rtems-lwip - v1 02/11] FIX: add library search path to allow lwip being installed aside the RTEMS installation

berndmoessner80 at gmail.com berndmoessner80 at gmail.com
Thu Jan 4 00:08:37 UTC 2024


From: Bernd Moessner <berndmoessner80 at gmail.com>

---
 lwip.py | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/lwip.py b/lwip.py
index bd743a1..65f1ead 100644
--- a/lwip.py
+++ b/lwip.py
@@ -137,9 +137,10 @@ def build(bld):
                 includes=' '.join(test_app_incl))
 
     lib_path = os.path.join(bld.env.PREFIX, arch_lib_path)
-    bld.read_stlib('telnetd', paths=[lib_path])
-    bld.read_stlib('rtemstest', paths=[lib_path])
-    bld.read_stlib('ftpd', paths=[lib_path])
+    rtems_lib_path = os.path.join(bld.env.RTEMS_PATH, arch_lib_path)
+    bld.read_stlib('telnetd', paths=[lib_path, rtems_lib_path])
+    bld.read_stlib('rtemstest', paths=[lib_path, rtems_lib_path])
+    bld.read_stlib('ftpd', paths=[lib_path, rtems_lib_path])
 
     bld.program(features='c',
                 target='telnetd01.exe',
-- 
2.34.1



More information about the devel mailing list