mirror of
https://github.com/corda/corda.git
synced 2025-01-01 02:36:44 +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
|
||||
shared = -shared
|
||||
|
||||
rpath = -Wl,-rpath=\$$ORIGIN
|
||||
rpath = -Wl,-rpath=\$$ORIGIN -Wl,-z,origin
|
||||
|
||||
no-error = -Wno-error
|
||||
|
||||
@ -1573,7 +1573,7 @@ ifdef mt
|
||||
$(mt) -nologo -manifest $(@).manifest -outputresource:"$(@);1"
|
||||
endif
|
||||
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
|
||||
$(strip) $(strip-all) $(@)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user