File: 05-link_with_LDFLAGS.patch

package info (click to toggle)
sqlite 2.8.17-14
  • links: PTS
  • area: main
  • in suites: stretch
  • size: 4,716 kB
  • ctags: 3,107
  • sloc: ansic: 32,407; tcl: 10,821; sh: 7,775; yacc: 677; makefile: 385; awk: 62
file content (18 lines) | stat: -rw-r--r-- 534 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Description: add LDFLAGS to linker
Author: Laszlo Boszormenyi (GCS) <gcs@debian.org>
Forwarded: not-needed
Last-Update: 2016-08-10

---

--- sqlite-2.8.17.orig/Makefile.in
+++ sqlite-2.8.17/Makefile.in
@@ -38,7 +38,7 @@ RELEASE = @ALLOWRELEASE@
 
 # libtool compile/link/install
 LTCOMPILE = $(LIBTOOL) --mode=compile $(TCC)
-LTLINK = $(LIBTOOL) --mode=link $(TCC)
+LTLINK = $(LIBTOOL) --mode=link $(TCC) $(LDFLAGS)
 LTINSTALL = $(LIBTOOL) --mode=install $(INSTALL)
 
 # Compiler options needed for programs that use the TCL library.