mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-15 10:17:20 +00:00
Removed /usr/local/lib from the standard library search path to be
consistant. Programs shouldn't rely on non-standard paths for bringing in default libraries. Suggested by: Andreas Schulz <ats@freebsd.first.gmd.de>
This commit is contained in:
parent
3cc5ba4318
commit
8af57ca9dd
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=7172
@ -27,7 +27,7 @@
|
|||||||
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
||||||
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
*
|
*
|
||||||
* $Id: shlib.c,v 1.11 1995/01/05 02:36:29 swallace Exp $
|
* $Id: shlib.c,v 1.12 1995/03/04 17:46:09 nate Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <sys/param.h>
|
#include <sys/param.h>
|
||||||
@ -54,7 +54,7 @@ char *strsep();
|
|||||||
* Standard directories to search for files specified by -l.
|
* Standard directories to search for files specified by -l.
|
||||||
*/
|
*/
|
||||||
#ifndef STANDARD_SEARCH_DIRS
|
#ifndef STANDARD_SEARCH_DIRS
|
||||||
#define STANDARD_SEARCH_DIRS "/usr/lib", "/usr/local/lib"
|
#define STANDARD_SEARCH_DIRS "/usr/lib"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -27,7 +27,7 @@
|
|||||||
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
||||||
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
*
|
*
|
||||||
* $Id: shlib.c,v 1.11 1995/01/05 02:36:29 swallace Exp $
|
* $Id: shlib.c,v 1.12 1995/03/04 17:46:09 nate Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <sys/param.h>
|
#include <sys/param.h>
|
||||||
@ -54,7 +54,7 @@ char *strsep();
|
|||||||
* Standard directories to search for files specified by -l.
|
* Standard directories to search for files specified by -l.
|
||||||
*/
|
*/
|
||||||
#ifndef STANDARD_SEARCH_DIRS
|
#ifndef STANDARD_SEARCH_DIRS
|
||||||
#define STANDARD_SEARCH_DIRS "/usr/lib", "/usr/local/lib"
|
#define STANDARD_SEARCH_DIRS "/usr/lib"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
Reference in New Issue
Block a user