[sr-dev] git:master: sercmd: Patch to add Dragonfly BSD support (makefile)
Andrei Pelinescu-Onciul
andrei at iptel.org
Wed Aug 11 17:03:38 CEST 2010
Module: sip-router
Branch: master
Commit: c39dd933973ba24b449c2b35756c593c093d5f4f
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=c39dd933973ba24b449c2b35756c593c093d5f4f
Author: Vincent Stemen <vince.lists at ngtek.org>
Committer: Andrei Pelinescu-Onciul <andrei at iptel.org>
Date: Wed Aug 11 16:49:40 2010 +0200
sercmd: Patch to add Dragonfly BSD support (makefile)
Signed-off-by: Andrei Pelinescu-Onciul <andrei at iptel.org>
---
utils/sercmd/Makefile | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/utils/sercmd/Makefile b/utils/sercmd/Makefile
index fbf616d..7072a7d 100644
--- a/utils/sercmd/Makefile
+++ b/utils/sercmd/Makefile
@@ -29,7 +29,12 @@ DEFS:= -DNAME='"$(NAME)"' -DVERSION='"$(RELEASE)"' \
# from a module Makefile)
#LIBS:=$(filter-out -lfl -ldl -lpthread -lssl -lcrypto, $(LIBS))
-LIBS:= -lresolv
+ifeq ($(OS), dragonfly)
+ LIBS:= -L$(LOCALBASE)/lib
+else
+ LIBS:= -lresolv
+endif
+
ifeq ($(OS), solaris)
LIBS+= -L$(LOCALBASE)/lib -lxnet -lnsl
endif
More information about the sr-dev
mailing list