Hi

I already wrongly sent a variation of this patch to the openssl-dev list
some time ago, sorry about that.

This patch fixes 2 issues that occur on compilation of the hurd-x86
target. Currently the hurd-x86 target for openssl is lacking the table
entry for SHLIB_EXT which causes the install of shared libs fail.

Also the _GNU_SOURCE define is required for a correct build under hurd
so I added it to the target cflags.

Matthias

--- openssl-0.9.8m/Configure	2009-11-09 15:14:26.000000000 +0100
+++ openssl-0.9.8m/Configure	2010-03-16 06:57:04.283092191 +0100
@@ -537,7 +537,7 @@
 "newsos4-gcc","gcc:-O -DB_ENDIAN::(unknown):NEWS4:-lmld -liberty:BN_LLONG RC4_CHAR RC4_CHUNK DES_PTR DES_RISC1 DES_UNROLL BF_PTR::::",
 
 ##### GNU Hurd
-"hurd-x86",  "gcc:-DL_ENDIAN -DTERMIOS -O3 -fomit-frame-pointer -march=i486 -Wall::-D_REENTRANT::-ldl:BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}:${x86_elf_asm}:dlfcn:linux-shared:-fPIC",
+"hurd-x86",  "gcc:-DL_ENDIAN -DTERMIOS -D_GNU_SOURCE -O3 -fomit-frame-pointer -march=i486 -Wall::-D_REENTRANT::-ldl:BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}:${x86_elf_asm}:dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",
 
 ##### OS/2 EMX
 "OS2-EMX", "gcc::::::::",

Reply via email to