File: 03-ldflags.patch

package info (click to toggle)
dataquay 0.9.1-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, buster, sid, stretch
  • size: 852 kB
  • sloc: cpp: 8,808; sh: 26; ansic: 13; makefile: 10
file content (20 lines) | stat: -rw-r--r-- 490 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Description: Make qmake properly set environment LDFLAGS variable's values.
Author: Alessio Treglia <alessio@debian.org>
Forwarded: yes
---
 lib.pro |    2 ++
 1 file changed, 2 insertions(+)

Index: dataquay/lib.pro
===================================================================
--- dataquay.orig/lib.pro
+++ dataquay/lib.pro
@@ -7,6 +7,8 @@ TEMPLATE = lib
 CONFIG += warn_on staticlib c++11
 QT -= gui
 
+QMAKE_LFLAGS_SHLIB *= $(LDFLAGS)
+
 TARGET = dataquay
 
 exists(config.pri) {