Explorar el Código

luafilesystem: Correctly handle usrmerge

Fixes the recipe to correctly install when the usrmerge DISTRO_FEATURE
is active. In this case, base_libdir=/usr/lib, so it should not be
specified as an argument. Also correctly use the ${prefix} variable for
the install prefix

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Joshua Watt <Joshua.Watt@garmin.com>
Joshua Watt hace 1 año
padre
commit
f0130e75c6
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      recipes-lua/luafilesystem/luafilesystem_git.bb

+ 1 - 1
recipes-lua/luafilesystem/luafilesystem_git.bb

@@ -15,7 +15,7 @@ inherit pkgconfig
 
 S = "${WORKDIR}/git"
 
-EXTRA_OEMAKE = 'PREFIX=${D}/usr BASELIB=${base_libdir} CROSS_COMPILE=${TARGET_PREFIX} CC="${CC} -fpic" LDFLAGS="${LDFLAGS}"'
+EXTRA_OEMAKE = 'PREFIX=${D}/${prefix} CROSS_COMPILE=${TARGET_PREFIX} CC="${CC} -fpic" LDFLAGS="${LDFLAGS}"'
 
 # NOTE: this is a Makefile-only piece of software, so we cannot generate much of the
 # recipe automatically - you will need to examine the Makefile yourself and ensure