Patch: FYI: libgcj_bc library

Tom Tromey tromey@redhat.com
Thu Aug 17 01:49:00 GMT 2006


>>>>> "H.J." == H J Lu <hjl@lucon.org> writes:

H.J.> I don't believe this make rule will work with "make install DESTDIR=...".

Yes, how odd.  Perhaps the FC spec file doesn't install this way.

H.J.> This patch on top of it seems to work for me.

H.J.> +	cd $(DESTDIR)$(toolexeclibdir); \
H.J.> +	rm libgcj_bc.so; \
H.J.> +	mv libgcj_bc.so.1.0.0 libgcj_bc.so; \
H.J.>  	$(libgcj_bc_dummy_LINK) -xc /dev/null -Wl,-soname,libgcj_bc.so.1 \

Can libgcj_bc_dummy_LINK be a relative path to xgcc?
It seems like it would be safer not to 'cd' to the install dir here.

Otherwise, looking good.

Tom



More information about the Java-patches mailing list