repo/core/libnl/build
2019-07-19 17:00:00 +03:00

14 lines
253 B
Bash
Executable File

#!/bin/sh -e
# Fix issues on musl.
patch -p0 < musl-ipv6.patch
sed -i '/<linux\/if_bridge.h>/i#define _LINUX_IN6_H' lib/route/link/bridge.c
./configure \
--prefix=/usr \
--sysconfdir=/etc \
--disable-static
make
make DESTDIR="$1" install