termux_step_massage: Avoid using CC
which may be unset.
This commit is contained in:
parent
497ff55e26
commit
ae7f540379
@ -80,7 +80,7 @@ termux_step_massage() {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Check so that package is not affected by https://github.com/android/ndk/issues/1614
|
# Check so that package is not affected by https://github.com/android/ndk/issues/1614
|
||||||
SYMBOLS="$(readelf -s $($CC -print-libgcc-file-name) | grep "FUNC GLOBAL HIDDEN" | awk '{print $8}')"
|
SYMBOLS="$(readelf -s $($TERMUX_HOST_PLATFORM-clang -print-libgcc-file-name) | grep "FUNC GLOBAL HIDDEN" | awk '{print $8}')"
|
||||||
LIBRARIES=""
|
LIBRARIES=""
|
||||||
if [ -d "lib" ]; then
|
if [ -d "lib" ]; then
|
||||||
LIBRARIES="$(find lib -name "*.so")"
|
LIBRARIES="$(find lib -name "*.so")"
|
||||||
|
Loading…
Reference in New Issue
Block a user