Added fix for screen libutempter dependency

This commit is contained in:
Tobias Faller 2021-08-15 18:19:57 +02:00
parent fe932ce2b2
commit 282004b6a3
2 changed files with 11 additions and 2 deletions

View File

@ -19,8 +19,15 @@ fi
rm -rf $DEST_DIR
echo "Configuring '$BUNDLE_NAME'."
CFLAGS="$CFLAGS" ./configure \
--prefix=/usr
CFLAGS="$CFLAGS -I${OVERLAY_ROOTFS}/include" \
LDFLAGS="$LDFLAGS -L${OVERLAY_ROOTFS}/lib -L${OVERLAY_ROOTFS}/usr/lib" \
./configure --prefix=/usr
# Remove the dependency to libutempter as it is
# not available on the target system.
echo "Patching configuration of '$BUNDLE_NAME'."
sed -i 's|-lutempter||g' Makefile
sed -i 's|#define HAVE_UTEMPTER 1||g' config.h
echo "Building '$BUNDLE_NAME'."
make -j $NUM_JOBS

View File

@ -0,0 +1,2 @@
ncurses
passwd