[packages/hwreport] - pass ldflags in proper order - rel 3
baggins
baggins at pld-linux.org
Sun Jun 16 23:00:57 CEST 2013
commit ccb7fc67eee01fe3182877ba39108be69bec8c1f
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Sun Jun 16 23:00:33 2013 +0200
- pass ldflags in proper order
- rel 3
hwreport.spec | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/hwreport.spec b/hwreport.spec
index 4561dd4..4eb7fdb 100644
--- a/hwreport.spec
+++ b/hwreport.spec
@@ -2,13 +2,13 @@ Summary: Collect system informations for the hardware4linux site
Summary(pl.UTF-8): Zbieranie informacji dla strony hardware4linux
Name: hwreport
Version: 0.11.0
-Release: 2
+Release: 3
License: GPL v2
Group: Applications/System
Source0: http://hardware4linux.info/res/%{name}-%{version}.tar.bz2
# Source0-md5: 463109a35076dfe946ab115cd5422e6d
URL: http://hardware4linux.info/
-BuildRequires: libusb
+BuildRequires: libusb-devel
BuildRequires: pkgconfig
Requires: dmidecode
Requires: pld-release
@@ -42,10 +42,10 @@ BINARIES = hwreport osinfo
sbindir = %{_sbindir}
all: Makefile $(TARGET)
scan-printers: scan-printers.c
- $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^
+ $(CC) $(CFLAGS) `pkg-config --cflags libusb-1.0` -o $@ $^ $(LDFLAGS) `pkg-config --libs libusb-1.0`
reportusb: reportusb.c
- $(CC) $(CFLAGS) `pkg-config --cflags libusb-1.0` $(LDFLAGS) `pkg-config --libs libusb-1.0` -o $@ $^
+ $(CC) $(CFLAGS) `pkg-config --cflags libusb-1.0` -o $@ $^ $(LDFLAGS) `pkg-config --libs libusb-1.0`
clean:
rm -f $(OBJECTS) $(TARGET)
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/hwreport.git/commitdiff/ccb7fc67eee01fe3182877ba39108be69bec8c1f
More information about the pld-cvs-commit
mailing list