mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-02 06:03:50 +00:00
Support building on non-elf machine
This commit is contained in:
parent
faa36925ca
commit
5a6b7d287c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=13151
@ -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
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user