Skip to content

Instantly share code, notes, and snippets.

@BtbN

BtbN/stdin

Created Nov 13, 2017
Embed
What would you like to do?
stdin
configure | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/configure b/configure
index 4418352d30..c8ca51e4e5 100755
--- a/configure
+++ b/configure
@@ -6485,6 +6485,7 @@ flatten_extralibs(){
list_name=$1
eval list=\$${1}
for entry in $list; do
+ pushvar $entry
entry_copy=$entry
resolve entry_copy
append nested_entries $(filter '*_extralibs' $entry_copy)
@@ -6497,6 +6498,10 @@ flatten_extralibs(){
if test -n "$(filter '*_extralibs' $nested_entries)"; then
flatten_extralibs $list_name
fi
+
+ for entry in $list; do
+ popvar $entry
+ done
}
for linkunit in $LIBRARY_LIST; do
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment