summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2001-10-30 08:00:59 +0000
committerRichard Levitte <levitte@openssl.org>2001-10-30 08:00:59 +0000
commita7b42009c43876f126790b3dc4260e3728695cc4 (patch)
treedd9105aee8ac45cdfe118a2b9e3b13ecd026ab7f /apps
parent7b5ffd683412b85d9b4195fc24b5966d41b591ae (diff)
Change the shared library support so the shared libraries get built
sooner and the programs get built against the shared libraries. This requires a bit more work. Things like -rpath and the possibility to still link the programs statically should be included. Some cleanup is also needed. This will be worked on.
Diffstat (limited to 'apps')
-rw-r--r--apps/Makefile.ssl5
1 files changed, 4 insertions, 1 deletions
diff --git a/apps/Makefile.ssl b/apps/Makefile.ssl
index 4476a73ca8..92e8c19122 100644
--- a/apps/Makefile.ssl
+++ b/apps/Makefile.ssl
@@ -140,7 +140,10 @@ $(DLIBCRYPTO):
$(PROGRAM): progs.h $(E_OBJ) $(PROGRAM).o $(DLIBCRYPTO) $(DLIBSSL)
$(RM) $(PROGRAM)
$(CC) -o $(PROGRAM) $(CFLAGS) $(PROGRAM).o $(E_OBJ) $(PEX_LIBS) $(LIBSSL) $(LIBKRB5) $(LIBCRYPTO) $(EX_LIBS)
- -(cd ..; OPENSSL="`pwd`/apps/openssl"; export OPENSSL; $(PERL) tools/c_rehash certs)
+ -(cd ..; OPENSSL="`pwd`/apps/openssl"; export OPENSSL; \
+ LIBPATH="`pwd`"; LD_LIBRARY_PATH="`pwd`"; SHLIB_PATH="`pwd`"; \
+ export LD_LIBRARY_PATH SHLIB_PATH LIBPATH; \
+ $(PERL) tools/c_rehash certs)
progs.h: progs.pl
$(PERL) progs.pl $(E_EXE) >progs.h