From 402fef9ae8611116118504f7393181db994f79ef Mon Sep 17 00:00:00 2001 From: Joel Dice Date: Sat, 6 Jun 2009 14:25:05 -0600 Subject: [PATCH] include native Classpath code in dynamic library Note that this requires building Classpath with -fPIC on platforms where it is not the default. --- makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/makefile b/makefile index e78fb8a5e0..a611999733 100644 --- a/makefile +++ b/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)