Skip to content
Snippets Groups Projects
Commit f8bb8220 authored by al.schwinn's avatar al.schwinn Committed by m.marn
Browse files

Fix snap7 paths.

parent ce5c511a
No related branches found
No related tags found
1 merge request!38Compile with fPIC. Add linker flags also to design makefile.
......@@ -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):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment