repo/core/flex/build

19 lines
315 B
Plaintext
Raw Normal View History

2019-05-18 10:06:11 -06:00
#!/bin/sh -e
./configure \
--prefix=/usr \
--disable-static \
--enable-shared \
2019-07-13 01:15:56 -06:00
--disable-nls \
2019-05-18 10:06:11 -06:00
ac_cv_func_malloc_0_nonnull=yes \
ac_cv_func_realloc_0_nonnull=yes
make
make DESTDIR="$1" install
# Remove all info files.
rm -rf "$1/usr/share/info"
2019-08-11 12:03:12 -06:00
# Remove docs.
rm -rf "$1/usr/share/doc"