summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2009-10-15 14:14:35 +0000
committerDr. Stephen Henson <steve@openssl.org>2009-10-15 14:14:35 +0000
commit8196257f00a03d342be9a8713a7610be7c7a1d85 (patch)
tree73c1fdffe556093f185d023bd540592206630991 /apps
parentac923d33778ae5f170005570796e51ab6cc3b7a8 (diff)
Cross compilation updates.
Diffstat (limited to 'apps')
-rw-r--r--apps/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/apps/Makefile b/apps/Makefile
index 49f04d6b34..a54881542f 100644
--- a/apps/Makefile
+++ b/apps/Makefile
@@ -161,9 +161,11 @@ $(EXE): progs.h $(E_OBJ) $(PROGRAM).o $(DLIBCRYPTO) $(DLIBSSL)
CC="$${CC}" APPNAME=$(EXE) OBJECTS="$(PROGRAM).o $(E_OBJ)" \
LIBDEPS="$(PEX_LIBS) $$LIBRARIES $(EX_LIBS)" \
link_app.$${shlib_target}
- -(cd ..; \
- OPENSSL="`pwd`/util/opensslwrap.sh"; export OPENSSL; \
- $(PERL) tools/c_rehash certs)
+ @if [ -z "$(CROSS_COMPILE)" ]; then \
+ (cd ..; \
+ OPENSSL="`pwd`/util/opensslwrap.sh"; export OPENSSL; \
+ $(PERL) tools/c_rehash certs) \
+ fi
progs.h: progs.pl
$(PERL) progs.pl $(E_EXE) >progs.h