Mercurial > vanilla
diff lib/jsoncpp/jsoncpp.sh @ 766:e91fbcb3d1ef
vanilla: consolidate FHS
author | David Demelier <markand@malikania.fr> |
---|---|
date | Fri, 09 Aug 2019 20:10:00 +0200 |
parents | 25cecc6dca48 |
children | a133976e0783 |
line wrap: on
line diff
--- a/lib/jsoncpp/jsoncpp.sh Thu Aug 08 17:10:50 2019 +0200 +++ b/lib/jsoncpp/jsoncpp.sh Fri Aug 09 20:10:00 2019 +0200 @@ -40,15 +40,15 @@ CXX="$CXX" \ CXXFLAGS="$CXXFLAGS" \ LDFLAGS="$LDFLAGS" \ - meson \ + meson . build \ --prefix / \ --buildtype release \ - --default-library shared \ - . build + --default-library shared # https://github.com/open-source-parsers/jsoncpp/issues/910 rm -f version ninja -C build DESTDIR=$DESTDIR ninja -C build install + sed -i -e "s|prefix=/|prefix=|" $DESTDIR/lib/pkgconfig/*.pc cd .. rm -rf $PKGNAME-$PKGVERSION