diff options
author | Richard Levitte <levitte@openssl.org> | 2003-02-14 13:12:00 +0000 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2003-02-14 13:12:00 +0000 |
commit | c1269c81fd52a031595ec69a4a88ed80df100008 (patch) | |
tree | b054e32f40bf4598e7b4ecbbd284357cf0ce61ff /Makefile.org | |
parent | 794a386af3cf5617929f3c689b2caf7c5b34f2f7 (diff) |
Handle krb5 libraries separately and make sure only libssl.so depends
on it.
Diffstat (limited to 'Makefile.org')
-rw-r--r-- | Makefile.org | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile.org b/Makefile.org index 847bcebad1..1baf7e8b44 100644 --- a/Makefile.org +++ b/Makefile.org @@ -167,6 +167,7 @@ RMD160_ASM_OBJ= asm/rm86-out.o # KRB5 stuff KRB5_INCLUDES= +LIBKRB5= DIRS= crypto ssl engines apps test tools SHLIBDIRS= crypto ssl @@ -280,6 +281,9 @@ build-shared: do_$(SHLIB_TARGET) link-shared do_$(SHLIB_TARGET): @ libs='-L. ${SHLIBDEPS}'; for i in ${SHLIBDIRS}; do \ + if [ "${SHLIBDIRS}" = "ssl" -a -n "$(LIBKRB5)" ]; then \ + libs="$(LIBKRB5) $$libs"; \ + fi; \ $(NEWMAKE) -f Makefile.shared \ CC="$(CC)" LDFLAGS="$(LDFLAGS)" \ SHARED_LDFLAGS="$(SHARED_LDFLAGS)" \ @@ -288,7 +292,7 @@ do_$(SHLIB_TARGET): LIBDEPS="$$libs $(EX_LIBS)" \ LIBRPATH="$(INSTALLTOP)/lib" \ link_a.$(SHLIB_TARGET); \ - libs="$$libs -l$$i"; \ + libs="-l$$i $$libs"; \ done openssl.pc: Makefile.ssl |