diff --git a/makefile b/makefile index d388a28570..87567a58ab 100644 --- a/makefile +++ b/makefile @@ -741,7 +741,7 @@ ifdef msvc -PDB:$(@).pdb -IMPLIB:$(@).lib $(<) -out:$(@) -MANIFESTFILE:$(@).manifest $(mt) -manifest $(@).manifest -outputresource:"$(@);1" else - $(ld) $(^) $(lflags) -o $(@) + $(ld) $(<) -L$(native-build) -ljvm $(lflags) -o $(@) endif $(strip) $(strip-all) $(@)