mirror of
https://github.com/genodelabs/genode.git
synced 2025-01-31 16:35:28 +00:00
mk: access linker scripts via BASE_DIR
The use of 'select_from_repositories' for locating the linker script for dynamically-linked executables only works if 'BASE_DIR' appears in the list of 'REPOSITORIES'. This is the case when using the build system in the traditional way but it is not desired when building binary archives of individual components.
This commit is contained in:
parent
35adce3955
commit
6d82dd14d6
@ -104,7 +104,7 @@ else
|
||||
#
|
||||
# Add a list of symbols that shall always be added to the dynsym section
|
||||
#
|
||||
LD_OPT += --dynamic-list=$(call select_from_repositories,src/ld/genode_dyn.dl)
|
||||
LD_OPT += --dynamic-list=$(BASE_DIR)/src/ld/genode_dyn.dl
|
||||
|
||||
LD_SCRIPTS := $(LD_SCRIPT_DYN)
|
||||
LD_CMD += -Wl,--dynamic-linker=$(DYNAMIC_LINKER).lib.so \
|
||||
|
Loading…
x
Reference in New Issue
Block a user