From: Russell Bryant Date: Fri, 27 Jan 2006 05:33:20 +0000 (+0000) Subject: add /usr/local/lib to SOLINK (issue #6323) X-Git-Tag: 1.4.0-beta1~2773 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=95436436c3fec2b2ac39e390d7ca5e003c3d8c02;p=thirdparty%2Fasterisk.git add /usr/local/lib to SOLINK (issue #6323) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8778 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/Makefile b/Makefile index 1dcec055d7..4b69318e35 100644 --- a/Makefile +++ b/Makefile @@ -381,6 +381,9 @@ else #These are used for all but Darwin ASTLINK=-Wl,-E SOLINK=-shared -Xlinker -x + ifeq ($(findstring BSD,$(OSARCH)),BSD) + SOLINK+=-L$(CROSS_COMPILE_TARGET)/usr/local/lib + endif endif ifeq ($(OSARCH),FreeBSD)