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

bugs at busybox.net bugs at busybox.net
Tue Oct 9 10:16:24 UTC 2007


The following issue has been CLOSED 
====================================================================== 
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:                     closed
Resolution:                 open
Fixed in Version:           
====================================================================== 
Date Submitted:             10-08-2007 18:30 PDT
Last Modified:              10-09-2007 03:16 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

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

---------------------------------------------------------------------- 
 vda - 10-09-07 03:16  
---------------------------------------------------------------------- 
Fixed in svn, thanks! 

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         
10-09-07 03:16  vda            Status                   assigned => closed  
10-09-07 03:16  vda            Note Added: 0002814                          
======================================================================




More information about the busybox-cvs mailing list