[BusyBox 0001524]: "scripts/trylink" stopped linking busybox

bugs at busybox.net bugs at busybox.net
Mon Oct 8 18:30:01 PDT 2007


The following issue has been SUBMITTED. 
====================================================================== 
http://busybox.net/bugs/view.php?id=1524 
====================================================================== 
Reported By:                rockeychu
Assigned To:                BusyBox
====================================================================== 
Project:                    BusyBox
Issue ID:                   1524
Category:                   Other
Reproducibility:            always
Severity:                   block
Priority:                   normal
Status:                     assigned
====================================================================== 
Date Submitted:             10-08-2007 18:30 PDT
Last Modified:              10-08-2007 18:30 PDT
====================================================================== 
Summary:                    "scripts/trylink" stopped linking busybox
Description: 
When not select CONFIG_BUILD_LIBBUSYBOX,"scripts/trylink" will return false
to stopping linking busybox.

Patch as following alternatively:

Index: scripts/trylink
===================================================================
--- scripts/trylink     (revision 20207)
+++ scripts/trylink     (working copy)
@@ -190,4 +190,4 @@

 # libbusybox.so is needed only for -lbusybox at link time,
 # it is not needed at runtime. Deleting to reduce confusion.
-rm "$sharedlib_dir"/libbusybox.so >/dev/null
+rm -f "$sharedlib_dir"/libbusybox.so >/dev/null

or

Index: scripts/trylink
===================================================================
--- scripts/trylink     (revision 20207)
+++ scripts/trylink     (working copy)
@@ -190,4 +190,6 @@

 # libbusybox.so is needed only for -lbusybox at link time,
 # it is not needed at runtime. Deleting to reduce confusion.
-rm "$sharedlib_dir"/libbusybox.so >/dev/null
+if test "$CONFIG_BUILD_LIBBUSYBOX" = y; then
+    rm "$sharedlib_dir"/libbusybox.so >/dev/null
+fi

====================================================================== 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
10-08-07 18:30  rockeychu      New Issue                                    
10-08-07 18:30  rockeychu      Status                   new => assigned     
10-08-07 18:30  rockeychu      Assigned To               => BusyBox         
======================================================================



More information about the busybox-cvs mailing list