From 660bcddeac9afd536f52cdc8cfbfc2b734fa363f Mon Sep 17 00:00:00 2001 From: Cem Keylan Date: Mon, 30 May 2022 17:12:19 +0200 Subject: libbsd: split libmd --- extra/libbsd/build | 20 +------------------- 1 file changed, 1 insertion(+), 19 deletions(-) (limited to 'extra/libbsd/build') diff --git a/extra/libbsd/build b/extra/libbsd/build index 211f953b..e7de392a 100755 --- a/extra/libbsd/build +++ b/extra/libbsd/build @@ -1,27 +1,9 @@ #!/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" +export CPPFLAGS="$CPPFLAGS $(pkgconf --cflags libmd)" ./configure \ --prefix=/usr make make DESTDIR="$1" install -) -- cgit v1.2.3