put linker flags in ASTLDFLAGS where they belong
authorLuigi Rizzo <rizzo@icir.org>
Wed, 4 Oct 2006 22:51:17 +0000 (22:51 +0000)
committerLuigi Rizzo <rizzo@icir.org>
Wed, 4 Oct 2006 22:51:17 +0000 (22:51 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44408 65c4cc65-6c06-0410-ace0-fbb531ad65f3

Makefile

index c7e8031..96d2bab 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -179,7 +179,8 @@ ifeq ($(AST_DEVMODE),yes)
 endif
 
 ifneq ($(findstring BSD,$(OSARCH)),)
-  ASTCFLAGS+=-I/usr/local/include -L/usr/local/lib
+  ASTCFLAGS+=-I/usr/local/include
+  ASTLDFLAGS+=-L/usr/local/lib
 endif
 
 ifneq ($(PROC),ultrasparc)