summaryrefslogtreecommitdiffstats
path: root/agl-basefiles
diff options
context:
space:
mode:
authorTadao Tanikawa <tanikawa.tadao@jp.panasonic.com>2020-11-22 07:31:12 +0900
committerTadao Tanikawa <tanikawa.tadao@jp.panasonic.com>2020-11-23 13:37:19 +0000
commitf375d527c775582f4229a94d96177f18d80f0008 (patch)
treecb76ab1d10a3a454316a8af44ea8ae9d3430e3ad /agl-basefiles
parent9ce78547cb47c9db0d75cc7b36f8e679e831820b (diff)
Fix the path to the directory for the libraries
Fix the path to the directory of the libraries, '/usr/agl/lib' to follow the standard, '/usr/lib' and add subsystem name 'basesystem' for agl-basesystem. Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com> Change-Id: I353cfe3017967ae25348ce10460e453a96d6424e
Diffstat (limited to 'agl-basefiles')
-rw-r--r--agl-basefiles/share/agl.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/agl-basefiles/share/agl.mk b/agl-basefiles/share/agl.mk
index fa1e8d5..cde65cc 100644
--- a/agl-basefiles/share/agl.mk
+++ b/agl-basefiles/share/agl.mk
@@ -203,7 +203,7 @@ AGLCPPFLAGS += -DAGL_PosixBasedOS001LEGACY_USED -DAGL_STUB -DLINUX
AGLCPPFLAGS += -I$(SYSROOT)/usr/include/basesystem
## for agl library##
-AGLLDFLAGS += -L$(SYSROOT)/usr/agl/lib
+AGLLDFLAGS += -L$(SYSROOT)/usr/lib/basesystem
ifneq ($(INST_SHLIBS),libagl_stub)
AGLLDLIBS += -Wl,-Bdynamic -lpthread
@@ -215,7 +215,7 @@ endif
COMPONENT_NAME ?= $(error COMPONENT_NAME is not defined)
AGL_TOPDIR ?= $(DESTDIR)/usr
AGL_INCDIR := $(AGL_TOPDIR)/include/basesystem
-AGL_LIBDIR := $(AGL_TOPDIR)/lib
+AGL_LIBDIR := $(AGL_TOPDIR)/lib/basesystem
AGL_BINDIR := $(AGL_TOPDIR)/bin
AGL_PIXMAPDIR := $(AGL_TOPDIR)/pixmaps
AGL_UCODEDIR := $(AGL_TOPDIR)/data/ucode
@@ -331,7 +331,7 @@ endif
#################################################################################
-RPATHLINK := $(SYSROOT)/usr/lib:$(SYSROOT)/lib:$(SYSROOT)/usr/agl/lib
+RPATHLINK := $(SYSROOT)/usr/lib:$(SYSROOT)/lib:$(SYSROOT)/usr/lib/basesystem
#################################################################################
SUBDIRS := $(filter-out mock,$(SUBDIRS))