Skip to content

Commit

Permalink
Merge pull request #148 from tbeckerson/zlib
Browse files Browse the repository at this point in the history
fixes for python, remove unneeded code
  • Loading branch information
AleksArt000 authored Oct 16, 2024
2 parents f047898 + 76cb33a commit ef13b33
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions base/src/zlib.ecmp
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,9 @@ curl -o $NAME-$VERSION.tar.gz $URL
tar -xf $NAME-$VERSION.tar.gz

[install]
export CFLAGS="$CFLAGS -fPIC"
./configure --prefix=/usr
make
make DESTDIR=$SOVIET_BUILD_DIR install
ln -sfv ../../lib/$(readlink $SOVIET_BUILD_DIR/usr/lib/libz.so) $SOVIET_BUILD_DIR/usr/lib/libz.so

# from LFS: remove a usless static lib
rm $SOVIET_BUILD_DIR/usr/lib/libz.a

0 comments on commit ef13b33

Please sign in to comment.