Jelajahi Sumber

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 1 tahun lalu
induk
melakukan
1d35c9b3fe
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  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