From 326b7ba9dbf2762925551e7970836a2964107ec1 Mon Sep 17 00:00:00 2001 From: Shuhei AKETA Date: Sat, 16 Jan 2021 14:16:50 +0900 Subject: Changed the installation path of libraries The libraries required by basesystem were deployed in /usr/lib/basesystem. However, if the libraries were installed in this path, the executable would not link the libraries. I changed the path of the librariesfrom /usr/lib/basesystem to /usr/lib. Signed-off-by: Shuhei AKETA Change-Id: I174b29e96e1da9001f8c5308025abaaaeddc6342 --- hal/boot_hal/Makefile | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'hal/boot_hal') diff --git a/hal/boot_hal/Makefile b/hal/boot_hal/Makefile index ddbb183..26070ad 100755 --- a/hal/boot_hal/Makefile +++ b/hal/boot_hal/Makefile @@ -29,13 +29,10 @@ CXXFLAGS += -include agl_types_deprecated.h CXXFLAGS += -Wall -fPIC ######### link options ########################## -LDFLAGS += -L=/usr/lib/basesystem LDFLAGS += -shared LDFLAGS += -Wl,--no-as-needed LDFLAGS += -Wl,--no-undefined -RPATH := - ######### linked library ######################## LIBS += -Wl,-Bdynamic -lNS_FrameworkUnified @@ -48,7 +45,7 @@ all: $(TARGET) @echo $@ done. $(TARGET): $(OBJS) - $(CC) $(LDFLAGS) -Wl,-rpath=$(RPATH) $(OBJS) $(LIBS) -o $(TARGET) + $(CC) $(LDFLAGS) $(OBJS) $(LIBS) -o $(TARGET) @echo $@ done. ######### make cleans ########################### -- cgit 1.2.3-korg