2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-11-15 19:20:10 -07:00
repo/core/flex/build
2020-05-29 13:45:19 +03:00

14 lines
229 B
Bash
Executable File

#!/bin/sh -e
./configure \
--prefix=/usr \
--disable-static \
--enable-shared \
ac_cv_func_malloc_0_nonnull=yes \
ac_cv_func_realloc_0_nonnull=yes
make
make DESTDIR="$1" install
ln -s flex "$1/usr/bin/lex"