Added fix for screen libutempter dependency
This commit is contained in:
parent
fe932ce2b2
commit
282004b6a3
@ -19,8 +19,15 @@ fi
|
|||||||
rm -rf $DEST_DIR
|
rm -rf $DEST_DIR
|
||||||
|
|
||||||
echo "Configuring '$BUNDLE_NAME'."
|
echo "Configuring '$BUNDLE_NAME'."
|
||||||
CFLAGS="$CFLAGS" ./configure \
|
CFLAGS="$CFLAGS -I${OVERLAY_ROOTFS}/include" \
|
||||||
--prefix=/usr
|
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'."
|
echo "Building '$BUNDLE_NAME'."
|
||||||
make -j $NUM_JOBS
|
make -j $NUM_JOBS
|
||||||
|
2
src/minimal_overlay/bundles/screen/bundle_deps
Normal file
2
src/minimal_overlay/bundles/screen/bundle_deps
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
ncurses
|
||||||
|
passwd
|
Loading…
x
Reference in New Issue
Block a user