repo/core/libnl3/build

13 lines
229 B
Plaintext
Raw Normal View History

2019-06-21 02:48:53 -06:00
#!/bin/sh -e
2019-06-21 05:15:23 -06:00
# Fix issues on musl.
2019-06-21 05:12:00 -06:00
patch -p0 < musl-ipv6.patch
2019-06-21 05:14:11 -06:00
sed -i '/<linux\/if_bridge.h>/i#define _LINUX_IN6_H' lib/route/link/bridge.c
2019-06-21 05:12:00 -06:00
2019-06-21 02:48:53 -06:00
./configure \
2019-06-21 02:52:39 -06:00
--prefix=/usr \
--disable-static
2019-06-21 02:48:53 -06:00
make
make DESTDIR="$1" install