File: 0001-use-LDLIBS-instead-of-LDFLAGS.patch

package info (click to toggle)
usbrelay 0.2-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 460 kB
  • ctags: 15
  • sloc: ansic: 144; makefile: 24
file content (22 lines) | stat: -rw-r--r-- 522 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
From 00c3f4ece177cd1689fa4c623e497469fcfaf721 Mon Sep 17 00:00:00 2001
From: Logan Rosen <logan@ubuntu.com>
Date: Fri, 16 Oct 2015 19:53:06 +0200
Subject: use LDLIBS instead of LDFLAGS

Bug-Debian: https://bugs.debian.org/772430
---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index 0b18a1a..f094c9c 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
 CFLAGS = -O2 -Wall
 HIDAPI = hidraw
-LDFLAGS = -lhidapi-$(HIDAPI)
+LDLIBS = -lhidapi-$(HIDAPI)
 
 all: usbrelay