don't specify -Wl,-rpath argument on Darwin or Windows (take 2)

This commit is contained in:
Joel Dice 2013-02-12 09:27:47 -07:00
parent 8a7b6488d4
commit 937343d0d3

View File

@ -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) $(@)