From ab8ac4797c085af6b0930bbb71ccd57413eaf071 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Mon, 24 Jun 2019 15:39:04 -0400 Subject: build: Work around oh-shlibdeps quirk --- (limited to 'build') diff --git a/build b/build index 09e48bf..9a764e9 100755 --- a/build +++ b/build @@ -68,3 +68,8 @@ install: build grep -E "lib.*[.]$(legacy_abi_ver)(-dev)?") \ " oh-installfiles -d dest-legacy oh-shlibdeps + # Remove self-dependencies. + set -e; for f in *.substvars; do p="$${f%.substvars}"; \ + mv "$${f}" "$${f}.orig"; \ + sed "s/ $${p},//" "$${f}.orig" >"$${f}"; \ + done -- cgit v0.9.1