From 5a6b7d287c882f090a4480efaa3cc64132298cbe Mon Sep 17 00:00:00 2001 From: Scott Mace Date: Tue, 15 Sep 1998 14:49:08 +0000 Subject: Support building on non-elf machine --- security/rsaref/files/Makefile | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'security') diff --git a/security/rsaref/files/Makefile b/security/rsaref/files/Makefile index e1b2f25e434b..3cf51fbce8fb 100644 --- a/security/rsaref/files/Makefile +++ b/security/rsaref/files/Makefile @@ -21,5 +21,10 @@ $(RSAREFLIB) : desc.$(O) digit.$(O) md2c.$(O) md5c.$(O) nn.$(O) prime.$(O)\ $(SORSAREFLIB) : desc.$(SO) digit.$(SO) md2c.$(SO) md5c.$(SO) nn.$(SO) prime.$(SO)\ rsa.$(SO) r_encode.$(SO) r_dh.$(SO) r_enhanc.$(SO) r_keygen.$(SO) r_random.$(SO)\ r_stdlib.$(SO) +.if defined(PORTOBJFORMAT) && PORTOBJFORMAT == elf ${CC} -o $@ -shared -Wl,-soname,$@ $> +.else + ld -Bshareable -x -o $@ $> +.endif + -- cgit v1.2.3