diff options
author | Joshua Colp <jcolp@digium.com> | 2006-09-27 21:48:01 +0000 |
---|---|---|
committer | Joshua Colp <jcolp@digium.com> | 2006-09-27 21:48:01 +0000 |
commit | 4116cfc38722b1b9df13edf9637d4153568dc6a4 (patch) | |
tree | 19c66ba038f1893d8d10044cd5ee80620f7260eb /main/Makefile | |
parent | 7a336e9f9daeeb0133a584491ffbf4d35bb3f0dd (diff) |
Add ability to set high ToS bits as non-root on Linux using libcap (issue #7047 reported by maddison)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43830 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'main/Makefile')
-rw-r--r-- | main/Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/main/Makefile b/main/Makefile index b615c3b65..dfd482777 100644 --- a/main/Makefile +++ b/main/Makefile @@ -50,6 +50,9 @@ ifneq ($(findstring $(OSARCH), linux-gnu uclinux ),) ifneq ($(findstring LOADABLE_MODULES,$(MENUSELECT_CFLAGS)),) AST_LIBS+=-ldl endif + ifneq (x$(CAP_LIB),x) + AST_LIBS+=$(CAP_LIB) + endif AST_LIBS+=-lpthread $(EDITLINE_LIB) -lm -lresolv else AST_LIBS+=$(EDITLINE_LIB) -lm |