[buildroot] libobjc.so not added on target
Philippe Ney
philippe.ney at pardes.ws
Wed Apr 26 13:36:44 UTC 2006
Hi,
Selecting
[*] Build/install Objective-C compiler and runtime? (BR2_INSTALL_OBJC)
Don't add the libobjc.so* files on the target.
I don't use Objective-C but I guess libobjc is the only one that
must be added, isn't it ?
If yes, maybe the following patch could be useful.
Philippe
--- toolchain/gcc/gcc-uclibc-3.x.mk.orig 2006-04-26 14:44:19.000000000 +0200
+++ toolchain/gcc/gcc-uclibc-3.x.mk 2006-04-26 14:45:52.000000000 +0200
@@ -260,6 +260,9 @@
-cp -a $(STAGING_DIR)/usr/lib/security/libgcj.security $(TARGET_DIR)/usr/lib/security/
-cp -a $(STAGING_DIR)/usr/lib/security/classpath.security $(TARGET_DIR)/usr/lib/security/
endif
+ifeq ($(BR2_INSTALL_OBJC),y)
+ -cp -a $(STAGING_DIR)/lib/libobjc.so* $(TARGET_DIR)/lib/
+endif
touch -c $(TARGET_DIR)/lib/libgcc_s.so.1
gcc: uclibc-configured binutils gcc_initial $(LIBFLOAT_TARGET) uclibc \
More information about the uClibc
mailing list