fix bsd compile issue (bug #5731)
authorMark Spencer <markster@digium.com>
Mon, 14 Nov 2005 00:45:07 +0000 (00:45 +0000)
committerMark Spencer <markster@digium.com>
Mon, 14 Nov 2005 00:45:07 +0000 (00:45 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7094 65c4cc65-6c06-0410-ace0-fbb531ad65f3

cdr/Makefile
res/Makefile

index 3f6a760..49c3e4f 100755 (executable)
@@ -21,7 +21,8 @@ CFLAGS+=-fPIC
 endif
 
 ifeq ($(findstring BSD,${OSARCH}),BSD)
 endif
 
 ifeq ($(findstring BSD,${OSARCH}),BSD)
-  CFLAGS+=-I$(CROSS_COMPILE_TARGET)/usr/local/include -L$(CROSS_COMPILE_TARGET)/usr/local/lib
+  CFLAGS+=-I$(CROSS_COMPILE_TARGET)/usr/local/include
+  SOLINK+=-L$(CROSS_COMPILE_TARGET)/usr/local/lib
 endif
 
 #The problem with sparc is the best stuff is in newer versions of gcc (post 3.0) only.
 endif
 
 #The problem with sparc is the best stuff is in newer versions of gcc (post 3.0) only.
index c850463..56cd802 100755 (executable)
@@ -37,7 +37,8 @@ else
 endif
 
 ifeq ($(findstring BSD,${OSARCH}),BSD)
 endif
 
 ifeq ($(findstring BSD,${OSARCH}),BSD)
-  CFLAGS+=-I$(CROSS_COMPILE_TARGET)/usr/local/include -L$(CROSS_COMPILE_TARGET)/usr/local/lib
+  CFLAGS+=-I$(CROSS_COMPILE_TARGET)/usr/local/include
+  SOLINK+=-L$(CROSS_COMPILE_TARGET)/usr/local/lib
 endif
 
 ifeq (${OSARCH},CYGWIN)
 endif
 
 ifeq (${OSARCH},CYGWIN)