develooper Front page | perl.perl5.porters | Postings from April 2019

[perl #134040] Silence unnecessary warning on Android 8.1Termux builds

Thread Previous
Richard Leach
April 17, 2019 21:17
[perl #134040] Silence unnecessary warning on Android 8.1Termux builds
Message ID:
# New Ticket Created by  Richard Leach 
# Please include the string:  [perl #134040]
# in the subject line of all future correspondence about this issue. 
# <URL: >

Related to the efforts in RT#133787 to build Perl on Android 8.1
(Oreo) under the Termux app environment, the attached patch is
intended to silence an unnecessary warning emitted by
dist/PathTools/ on Android builds.

In the native builds on Termux, $Config::Config{targetsh} is not
populated and so the -x test for it emits a warning. The subsequent
else{} block successfully executes (populating $pwd_cmd), so things
proceed happily and there's nothing gained by having emitted the


Thread Previous Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About