[Buildroot] [PATCH] tstools: fix build (link) error

Tzu-Jung Lee roylee17 at gmail.com
Mon Nov 11 22:29:24 UTC 2013


Signed-off-by: Tzu-Jung Lee <tjlee at ambarella.com>
---
 ...x-a-build-error-linking-of-shared-library.patch | 23 ++++++++++++++++++++++
 1 file changed, 23 insertions(+)
 create mode 100644 package/tstools/tstools-003-build-fix-a-build-error-linking-of-shared-library.patch

diff --git a/package/tstools/tstools-003-build-fix-a-build-error-linking-of-shared-library.patch b/package/tstools/tstools-003-build-fix-a-build-error-linking-of-shared-library.patch
new file mode 100644
index 0000000..e87413f
--- /dev/null
+++ b/package/tstools/tstools-003-build-fix-a-build-error-linking-of-shared-library.patch
@@ -0,0 +1,23 @@
+From 1f83d1aa7f3abc75faeb31f169f1162e11168e16 Mon Sep 17 00:00:00 2001
+From: Tzu-Jung Lee <tjlee at ambarella.com>
+Date: Mon, 11 Nov 2013 14:16:11 -0800
+Subject: [PATCH] build: fix a build error (linking of shared library)
+
+Signed-off-by: Tzu-Jung Lee <tjlee at ambarella.com>
+
+diff --git a/Makefile b/Makefile
+index ad7f163..83ff416 100644
+--- a/Makefile
++++ b/Makefile
+@@ -203,7 +203,7 @@ $(STATIC_LIB): $(OBJS)
+ 	ar rc $(STATIC_LIB) $(OBJS)
+ 
+ $(SHARED_LIB): $(OBJS)
+-	$(LD) -shared -o $(SHARED_LIB) $(OBJS) -lc
++	$(CC) -shared -o $(SHARED_LIB) $(OBJS) -lc
+ endif
+ 
+ # Build all of the utilities with the static library, so that they can
+-- 
+1.8.4.3
+
-- 
1.8.4.3



More information about the buildroot mailing list