mirror of
https://github.com/corda/corda.git
synced 2025-01-04 04:04:27 +00:00
include native Classpath code in dynamic library
Note that this requires building Classpath with -fPIC on platforms where it is not the default.
This commit is contained in:
parent
6efeee49f8
commit
402fef9ae8
4
makefile
4
makefile
@ -617,11 +617,13 @@ else
|
||||
$(cc) $(^) $(rdynamic) $(lflags) -o $(@)
|
||||
endif
|
||||
|
||||
$(dynamic-library): $(gnu-object-dep)
|
||||
$(dynamic-library): \
|
||||
$(vm-objects) $(dynamic-object) $(jni-objects) $(vm-heapwalk-objects) \
|
||||
$(boot-object) $(vm-classpath-object) $(gnu-libraries)
|
||||
@echo "linking $(@)"
|
||||
$(cc) $(^) $(shared) $(lflags) $(bootimage-lflags) -o $(@)
|
||||
$(cc) $(^) $(call gnu-objects) $(shared) $(lflags) $(bootimage-lflags) \
|
||||
-o $(@)
|
||||
$(strip) $(strip-all) $(@)
|
||||
|
||||
$(executable-dynamic): $(driver-dynamic-object) $(dynamic-library)
|
||||
|
Loading…
Reference in New Issue
Block a user