diff options
author | Shuhei AKETA <shuhei.aketa@woven-planet.global> | 2021-01-16 14:16:50 +0900 |
---|---|---|
committer | Shuhei AKETA <shuhei.aketa@woven-planet.global> | 2021-01-18 18:04:04 +0900 |
commit | 326b7ba9dbf2762925551e7970836a2964107ec1 (patch) | |
tree | 99985056f7d6a519bc691b24fbb5a16d54691739 /hal/nv_hal | |
parent | 7bc3ffa5e56fe2d87747adbffa5e2ab09e64fb32 (diff) |
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 <shuhei.aketa@woven-planet.global>
Change-Id: I174b29e96e1da9001f8c5308025abaaaeddc6342
Diffstat (limited to 'hal/nv_hal')
-rwxr-xr-x | hal/nv_hal/Makefile | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/hal/nv_hal/Makefile b/hal/nv_hal/Makefile index fa19e24..e05333f 100755 --- a/hal/nv_hal/Makefile +++ b/hal/nv_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 ########################### |