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:
parent
fd75f5ade1
commit
f10e2174b4
3
Makefile
3
Makefile
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user