Merge pull request #10007 from orbea/eval

qb: Move BUILD_DIRS to the correct function.
This commit is contained in:
Twinaphex 2020-01-15 08:21:05 +01:00 committed by GitHub
commit 1521be8acb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -28,6 +28,7 @@ add_dirs()
shift
done
eval "${ADD}_DIRS=\"\${${ADD}_DIRS# }\""
BUILD_DIRS="$INCLUDE_DIRS $LIBRARY_DIRS"
}
# check_compiler:
@ -45,8 +46,6 @@ check_compiler()
TEMP_CODE="$TEMP_C"
TEST_C="void $2(void); int main(void) { $2(); return 0; }"
fi
BUILD_DIRS="$INCLUDE_DIRS $LIBRARY_DIRS"
}
# check_enabled: