mirror of
https://github.com/genodelabs/genode.git
synced 2025-01-31 00:24:51 +00:00
mk/gnu_build.mk: avoid absolute lib paths
This patch changes the way how libraries are specified at the linker command line from /abs/path/to/library.lib.so Issue #3500
This commit is contained in:
parent
8d6285927b
commit
a17c5e30b7
@ -126,8 +126,8 @@ CXXFLAGS += $(COMMON_CFLAGS_CXXFLAGS)
|
||||
# in all cases because 'libtool' strips those arguments from the 'LIBS' variable.
|
||||
#
|
||||
LDLIBS_A = $(filter %.a, $(sort $(STATIC_LIBS)) $(EXT_OBJECTS) $(LIBGCC))
|
||||
LDLIBS_SO = $(addprefix $(PWD)/,$(sort $(SHARED_LIBS)))
|
||||
LDLIBS += $(LDLIBS_A) $(LDLIBS_SO) $(LDLIBS_A)
|
||||
LDLIBS_SO = $(addprefix -l:,$(sort $(SHARED_LIBS)))
|
||||
LDLIBS += -L$(PWD) $(LDLIBS_A) $(LDLIBS_SO) $(LDLIBS_A)
|
||||
|
||||
#
|
||||
# By default, assume that there exists a 'configure' script in the top-level
|
||||
|
Loading…
x
Reference in New Issue
Block a user