Control: tags -1 + patch

Hi,

the attached patch fixes this FTBFS by moving the linked
libraries to the end of the command line.

Kind regards,
  Reiner
diff -u acpi-support-0.142/debian/addons/fakekey/Makefile acpi-support-0.142/debian/addons/fakekey/Makefile
--- acpi-support-0.142/debian/addons/fakekey/Makefile
+++ acpi-support-0.142/debian/addons/fakekey/Makefile
@@ -4,7 +4,7 @@
 	gcc -Wall $(shell dpkg-buildflags --get CFLAGS) $(shell dpkg-buildflags --get CPPFLAGS) $(shell dpkg-buildflags --get LDFLAGS) -o $@ $<
 
 acpi_fakekeyd: acpi_fakekeyd.c
-	gcc -Wall $(shell dpkg-buildflags --get CFLAGS) $(shell dpkg-buildflags --get CPPFLAGS) $(shell dpkg-buildflags --get LDFLAGS) $(shell pkg-config --cflags --libs libsystemd) -o $@ $<
+	gcc -Wall $(shell dpkg-buildflags --get CFLAGS) $(shell dpkg-buildflags --get CPPFLAGS) $(shell dpkg-buildflags --get LDFLAGS) $(shell pkg-config --cflags libsystemd) -o $@ $< $(shell pkg-config --libs libsystemd)
 
 clean:
 	$(RM) acpi_fakekey acpi_fakekeyd

Attachment: signature.asc
Description: PGP signature

Reply via email to