Skip to content

Commit

Permalink
pstoedit: Restore shared build and dev options
Browse files Browse the repository at this point in the history
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 :)
  • Loading branch information
thomas committed Dec 18, 2019
1 parent 6b620ba commit 5b0a051
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions pstoedit.be0
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand All @@ -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
}

0 comments on commit 5b0a051

Please sign in to comment.