mirror of
https://github.com/corda/corda.git
synced 2025-01-06 05:04:20 +00:00
don't specify -Wl,-rpath argument on Darwin or Windows (take 2)
This commit is contained in:
parent
8a7b6488d4
commit
937343d0d3
4
makefile
4
makefile
@ -267,7 +267,7 @@ build-ld = $(build-cc)
|
|||||||
static = -static
|
static = -static
|
||||||
shared = -shared
|
shared = -shared
|
||||||
|
|
||||||
rpath = -Wl,-rpath=\$$ORIGIN
|
rpath = -Wl,-rpath=\$$ORIGIN -Wl,-z,origin
|
||||||
|
|
||||||
no-error = -Wno-error
|
no-error = -Wno-error
|
||||||
|
|
||||||
@ -1573,7 +1573,7 @@ ifdef mt
|
|||||||
$(mt) -nologo -manifest $(@).manifest -outputresource:"$(@);1"
|
$(mt) -nologo -manifest $(@).manifest -outputresource:"$(@);1"
|
||||||
endif
|
endif
|
||||||
else
|
else
|
||||||
$(ld) $(driver-dynamic-objects) -L$(build) -ljvm $(lflags) $(no-lto) $(rpath) -z origin -o $(@)
|
$(ld) $(driver-dynamic-objects) -L$(build) -ljvm $(lflags) $(no-lto) $(rpath) -o $(@)
|
||||||
endif
|
endif
|
||||||
$(strip) $(strip-all) $(@)
|
$(strip) $(strip-all) $(@)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user