diff --git a/system/base/libunwind/actions.py b/system/base/libunwind/actions.py
index fc5342ed..e09ad6c1 100644
--- a/system/base/libunwind/actions.py
+++ b/system/base/libunwind/actions.py
@@ -10,19 +10,23 @@ from pisi.actionsapi import shelltools
from pisi.actionsapi import get
+Libdir = "/usr/lib32" if get.buildTYPE() == "emul32" else "/usr/lib"
+
def setup():
pisitools.cflags.add("-fcommon")
pisitools.flags.add("-U_FORTIFY_SOURCE")
autotools.autoreconf("-vfi")
options = "--enable-shared \
+ --libexecdir=%s \
--disable-static \
- "
+ " % Libdir
if get.buildTYPE() == "emul32":
shelltools.export("CC", "%s -m32" % get.CC())
shelltools.export("CXX", "%s -m32" % get.CXX())
shelltools.export("PKG_CONFIG_PATH", "/usr/lib32/pkgconfig")
+ shelltools.system('export PKG_CONFIG="i686-pc-linux-gnu-pkg-config"')
options += "--build=i686-pc-linux-gnu \
--host=i686-pc-linux-gnu \
diff --git a/system/base/libunwind/pspec.xml b/system/base/libunwind/pspec.xml
index 1250e1a4..ceb637a3 100644
--- a/system/base/libunwind/pspec.xml
+++ b/system/base/libunwind/pspec.xml
@@ -12,7 +12,7 @@
library
Call chain tracer of a program
libunwind is a portable and efficient C programming interface (API) to determine the call chain of a program.
- https://github.com/libunwind/libunwind/releases/download/v1.8.0/libunwind-1.8.0.tar.gz
+ https://github.com/libunwind/libunwind/releases/download/v1.8.1/libunwind-1.8.1.tar.gz
xz-devel
@@ -61,6 +61,13 @@
+
+ 2024-08-17
+ 1.8.1
+ Version bump.
+ Pisi Linux Community
+ admin@pisilinux.org
+
2024-01-17
1.8.0