From 5b0a051b03c7d188dd76139c3dc890a0dd89ba25 Mon Sep 17 00:00:00 2001 From: thomas Date: Wed, 18 Dec 2019 18:24:45 +0100 Subject: [PATCH] pstoedit: Restore shared build and dev options This is needed, because otherwise other tools/libs like libplot (imagemagick too?) won't be callable. The libs might be also used by python extensions, so make shure that every part is compiled with -fPIC. BTW: It's hard to get rid of the docs :) --- pstoedit.be0 | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/pstoedit.be0 b/pstoedit.be0 index eeea8bec8..d3adae584 100755 --- a/pstoedit.be0 +++ b/pstoedit.be0 @@ -21,9 +21,9 @@ SRCURL[0]="https://downloads.sourceforge.net/project/pstoedit/pstoedit/${PKGVERS #} mee_configure() { - bee_configure \ - --enable-static=yes \ - --enable-shared=no + CFLAGS="-O2 -fPIC" \ + CXXFLAGS="-O2 -fPIC" \ + bee_configure --enable-docs=no } #mee_build() { @@ -34,10 +34,6 @@ mee_configure() { # bee_install #} -# "please use pstoedit dev/shared libs!" - noone - ever mee_install_post() { rm -vrf ${D}/usr/share/doc - rm -vrf ${D}/usr/lib - rm -vrf ${D}/usr/share/aclocal - rm -vrf ${D}/usr/include }