From f8bb8220d48a1fb416aaba9c04a0a09aec4dcaf2 Mon Sep 17 00:00:00 2001 From: "al.schwinn" <al.schwinn@gsi.de> Date: Fri, 5 May 2023 08:25:27 +0000 Subject: [PATCH] Fix snap7 paths. --- silecs_cli/silecs_utils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/silecs_cli/silecs_utils.py b/silecs_cli/silecs_utils.py index 68e5363..3a39190 100644 --- a/silecs_cli/silecs_utils.py +++ b/silecs_cli/silecs_utils.py @@ -172,7 +172,7 @@ LINKER_FLAGS += -L$(SNAP7_BASE)/snap7/latest/$(CPU)-linux/lib -lsnap7 LINKER_FLAGS += -L$(MODBUS_BASE)/modbus/latest/$(CPU)-linux/lib -l:libmodbus.a #add default search path for dynamic snap7 library -LINKER_FLAGS += -Wl,-rpath,$(SNAP7_BASE)/snap7/latest/lib/$(CPU)-linux/lib,-rpath,/usr/lib +LINKER_FLAGS += -Wl,-rpath,$(SNAP7_BASE)/snap7/latest/$(CPU)-linux/lib,-rpath,/usr/lib """ def get_silecs_deploy_makefile_template(silecs_base): @@ -187,7 +187,7 @@ LINKER_FLAGS += -L$(SNAP7_BASE)/snap7/latest/$(CPU)-linux/lib -lsnap7 LINKER_FLAGS += -L$(MODBUS_BASE)/modbus/latest/$(CPU)-linux/lib -l:libmodbus.a #add default search path for dynamic snap7 library -LINKER_FLAGS += -Wl,-rpath,$(SNAP7_BASE)/snap7/latest/lib/$(CPU)-linux/lib,-rpath,/usr/lib +LINKER_FLAGS += -Wl,-rpath,$(SNAP7_BASE)/snap7/latest/$(CPU)-linux/lib,-rpath,/usr/lib """ def get_silecs_design_template(project_name, silecs_version, design_schema_path): -- GitLab