Signed-off-by: Frederik Sdun <[email protected]>
---
scripts/lib/ptxd_make_00-init.sh | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/scripts/lib/ptxd_make_00-init.sh b/scripts/lib/ptxd_make_00-init.sh
index 245b431..957eb86 100644
--- a/scripts/lib/ptxd_make_00-init.sh
+++ b/scripts/lib/ptxd_make_00-init.sh
@@ -59,8 +59,9 @@ ptxd_init_sysroot_toolchain() {
sysroot="$(echo 'int main(void){return 0;}' | \
${compiler_prefix}gcc -x c -o /dev/null -v - 2>&1 | \
- sed -ne "/.*collect2.*/s,.*--sysroot=\([^[:space:]]*\).*,\1,p" && \
- check_pipe_status)"
+ sed -ne "/.*collect2.*/s,.*--sysroot=\([^[:space:]]*\).*,\1,p" \
+ -ne "/.*configure.*/s,.*--with-sysroot=\([^[:space:]]*\).*,\1,p" |
+ head -n 1 && check_pipe_status)"
if [ $? -ne 0 -o -z "${sysroot}" ]; then
return 1
--
1.6.3.3
-------------------------------------------------------------------------
Geschäftsführung: Klaus Blankenagel Karl-Heinz Malzahn
Sitz der Gesellschaft: Ense
Amtsgericht: Arnsberg HRB 4452
Diese Nachricht ist als vertraulich einzustufen. Sollten Sie nicht der
vorgesehene Empfänger sein, bitten wir Sie höflich um eine kurze
Mitteilung und um die Löschung dieser Nachricht.
Jede unbefugte Weiterleitung oder Fertigung einer Kopie ist unzulässig.
Diese Nachricht dient lediglich dem Austausch von Informationen und
entfaltet keine rechtliche Bindungswirkung. Aufgrund der leichten
Manipulierbarkeit von E-Mails können wir keine Haftung für den Inhalt
übernehmen.
-------------------------------------------------------------------------
management: Klaus Blankenagel Karl-Heinz Malzahn
based in: Ense
competent country court: Arnsberg HRB 4452
This message is confidential and may be privileged. If you are not
the intended recipient, we kindly ask you to inform the sender and
delete this message.
Any authorised dissemination or copying hereof is prohibited.
This message servers for information purposes only and shall not
have any legally binding effect. Given that e-mails can easily be
subject to manipulation, we can not accept any liability for the
content provided.
--
ptxdist mailing list
[email protected]