diff --git a/system/base/libpcre/actions.py b/system/base/libpcre/actions.py
index f8812f8d..f3c93edd 100644
--- a/system/base/libpcre/actions.py
+++ b/system/base/libpcre/actions.py
@@ -20,6 +20,8 @@ def setup():
--enable-cpp \
--docdir=/%s/%s \
--disable-static" % (get.docDIR(), get.srcNAME()))
+
+ pisitools.dosed("libtool"," -shared ", " -Wl,--as-needed -shared ")
def build():
autotools.make()
diff --git a/system/base/libpcre/pspec.xml b/system/base/libpcre/pspec.xml
index bdb9999e..61b0cdf0 100644
--- a/system/base/libpcre/pspec.xml
+++ b/system/base/libpcre/pspec.xml
@@ -62,7 +62,7 @@
libgcc
- readline
+ glibc-32bit
libpcre