FreeBSD fixes for build process

git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@334 2fbb986a-6c06-0410-b554-c9c1f0a7f128
This commit is contained in:
Matthew Fredrickson 2006-05-09 08:15:51 +00:00
parent fd75f5ade1
commit f10e2174b4

View File

@ -43,12 +43,13 @@ INSTALL_PREFIX=$(DESTDIR)
INSTALL_BASE=/usr
SOFLAGS = -Wl,-hlibpri.so.1.0
LDCONFIG = /sbin/ldconfig
ifneq (,$(findstring $(OSARCH), Linux GNU/kFreeBSD))
ifneq (,$(findstring $(OSARCH), Linux GNU))
LDCONFIG_FLAGS=-n
else
ifeq (${OSARCH},FreeBSD)
LDCONFIG_FLAGS=-m
CFLAGS += -I../zaptel -I../zapata
INSTALL_BASE=/usr/local
endif
endif
ifeq (${OSARCH},SunOS)