diff options
Diffstat (limited to 'extra/libbsd/build')
-rwxr-xr-x | extra/libbsd/build | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/extra/libbsd/build b/extra/libbsd/build index 6daf22f8..ffbfa88f 100755 --- a/extra/libbsd/build +++ b/extra/libbsd/build @@ -1,7 +1,27 @@ #!/bin/sh -e +tmp_dir=$PWD/tmp + +( +cd libmd + +./configure \ + --prefix=/ \ + --disable-shared + +make +make DESTDIR="$tmp_dir" install +) + +( +cd libbsd + +export CFLAGS="$CFLAGS -I$tmp_dir/include" +export LIBS=$tmp_dir/lib/libmd.a + ./configure \ --prefix=/usr make make DESTDIR="$1" install +) |