restore functionality for Debian with FreeBSD kernel without breaking regular FreeBSD

git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@335 2fbb986a-6c06-0410-b554-c9c1f0a7f128
This commit is contained in:
Kevin P. Fleming 2006-05-09 08:21:45 +00:00
parent f10e2174b4
commit c6ccbf69ca

View File

@ -43,7 +43,7 @@ INSTALL_PREFIX=$(DESTDIR)
INSTALL_BASE=/usr INSTALL_BASE=/usr
SOFLAGS = -Wl,-hlibpri.so.1.0 SOFLAGS = -Wl,-hlibpri.so.1.0
LDCONFIG = /sbin/ldconfig LDCONFIG = /sbin/ldconfig
ifneq (,$(findstring $(OSARCH), Linux GNU)) ifneq (,$(findstring X$(OSARCH)X, XLinuxX XGNU/kFreeBSDX))
LDCONFIG_FLAGS=-n LDCONFIG_FLAGS=-n
else else
ifeq (${OSARCH},FreeBSD) ifeq (${OSARCH},FreeBSD)