summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorRussell Bryant <russell@russellbryant.com>2006-01-27 05:33:20 +0000
committerRussell Bryant <russell@russellbryant.com>2006-01-27 05:33:20 +0000
commit95436436c3fec2b2ac39e390d7ca5e003c3d8c02 (patch)
tree4fe2478ab30121382aa28ae7e3fd4467dc7069b9 /Makefile
parent19558d8647184f98c6f0cc0c67a95ba34fc95dd8 (diff)
add /usr/local/lib to SOLINK (issue #6323)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8778 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 1dcec055d..4b69318e3 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)