Sunday, 25 October 2015

[gccsdk] patch to build libsqlite3-0 in autobuilder

Hi

Modified Makefile.in.p for libsqlite3-0 in the autobuilder. Adds -ldl to the link flags

Thanks

John



--- Makefile.in 2015-05-05 19:08:54.000000000 +0100
+++ Makefile.in.fixed   2015-05-05 19:15:28.000000000 +0100
@@ -20,7 +20,7 @@
 # C Compiler and options for use in building executables that
 # will run on the platform that is doing the build.
 #
-BCC = @BUILD_CC@ @BUILD_CFLAGS@
+BCC = /usr/bin/@BUILD_CC@ @BUILD_CFLAGS@
 # TCC is the C Compile and options for use in building executables that
 # will run on the target platform.  (BCC and TCC are usually the
@@ -152,7 +152,7 @@
 # libtool compile/link/install
 LTCOMPILE = $(LIBTOOL) --mode=compile --tag=CC $(TCC) $(LTCOMPILE_EXTRAS)
-LTLINK = $(LIBTOOL) --mode=link $(TCC) $(LTCOMPILE_EXTRAS) @LDFLAGS@ $(LTLINK_EXTRAS)
+LTLINK = $(LIBTOOL) --mode=link $(TCC) $(LTCOMPILE_EXTRAS) @LDFLAGS@ $(LTLINK_EXTRAS) -ldl
 LTINSTALL = $(LIBTOOL) --mode=install $(INSTALL)
 # nawk compatible awk.


--
Stop press! Just announced -

Most Trusted Broadband Provider in the 2014 Moneywise Customer Services Awards

For full details of see https://www.utilitywarehouse.co.uk/reviews?exref=095761

Intrigued? Call me

John Ballance C.Eng MIET - jwb@macpcrepair.co.uk - 07976 295923

No comments:

Post a Comment