Commit 1d0fd077 authored by Leigh Stoller's avatar Leigh Stoller

Fix another makefile for Redhat 9.0 ssh/kerberos sillyness.

parent 25f3cd9b
...@@ -35,6 +35,11 @@ LDFLAGS += -static -L../lib -L${OBJDIR}/lib/libtb ...@@ -35,6 +35,11 @@ LDFLAGS += -static -L../lib -L${OBJDIR}/lib/libtb
LIBS += -levent -lcrypto -lssl LIBS += -levent -lcrypto -lssl
LIBS += `elvin-config --libs vin4c` LIBS += `elvin-config --libs vin4c`
ifeq ($(SYSTEM),Linux) ifeq ($(SYSTEM),Linux)
NEEDKERB := $(shell nm /usr/lib/libssl.a | grep -q krb; echo $$?)
ifeq ($(NEEDKERB),0)
CFLAGS += `/usr/kerberos/bin/krb5-config --cflags`
LIBS += `/usr/kerberos/bin/krb5-config --libs krb5`
endif
LIBS += -ldl LIBS += -ldl
LOCAL_BINDIR = linux LOCAL_BINDIR = linux
endif endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment