summaryrefslogtreecommitdiffstats
path: root/crypto/async
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2015-12-16 00:35:31 +0100
committerMatt Caswell <matt@openssl.org>2015-12-16 00:40:22 +0100
commit19a86b03010c111d4e05ce252247e30f0e940dad (patch)
tree588d7277dc2fe73db3ad791e378ee5f59e5aa152 /crypto/async
parentFix updating via mkdef.pl (diff)
downloadopenssl-19a86b03010c111d4e05ce252247e30f0e940dad.tar.xz
openssl-19a86b03010c111d4e05ce252247e30f0e940dad.zip
Fix build on Solaris
Solaris builds were failing during async compilation because the .o files created from compiling the corresponding .c files held in async/arch were ending up in the top level async directory. Consequently the link fails because it can't find the .o files. Thanks to Richard Levitte for pointing me in the right direction on this. Reviewed-by: Richard Levitte <levitte@openssl.org>
Diffstat (limited to 'crypto/async')
-rw-r--r--crypto/async/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/crypto/async/Makefile b/crypto/async/Makefile
index 44da77f3e0..bdecc4e33a 100644
--- a/crypto/async/Makefile
+++ b/crypto/async/Makefile
@@ -74,6 +74,10 @@ clean:
rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
rm -f arch/*.o arch/*.obj arch/lib arch/tags arch/core arch/.pure arch/.nfs* arch/*.old arch/*.bak arch/fluff
+# Different flavours of make disagree on where output goes
+.c.o:
+ $(CC) $(CFLAGS) -c $< -o $@
+
# DO NOT DELETE THIS LINE -- make depend depends on it.
arch/async_null.o: ../../e_os.h ../../include/openssl/async.h