athcool (0.3.12-3) Makefile

Summary

 Makefile |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

    
download this patch

Patch contents

--- athcool-0.3.12.orig/Makefile
+++ athcool-0.3.12/Makefile
@@ -20,7 +20,7 @@
 DEFS    = -I. -I$(includedir) -DPACKAGE=\"$(PACKAGE)\" -DVERSION=\"$(VERSION)\"
 #DEFS   += -DENABLE_FORCEID=1
 #DEFS   += -DDISABLE_WRITE_REG=1
-LIBS	= -lpci
+LIBS	= $(shell pkg-config --libs libpci)
 
 ### rules ###