Use proper pkgconfig libusb stuff.
This commit is contained in:
parent
fbfe2a5884
commit
d64ec1cc36
3
Makefile
3
Makefile
|
@ -2,7 +2,8 @@ BACKEND_NAME = gutenprint52+usb
|
|||
EXEC_NAME = dyesub_backend
|
||||
|
||||
CFLAGS = -Wall -Wextra -g
|
||||
LDFLAGS = -lusb-1.0
|
||||
LDFLAGS = `pkg-config --libs libusb-1.0`
|
||||
CFLAGS += `pkg-config --cflags libusb-1.0`
|
||||
|
||||
CUPS_BACKEND_DIR = /usr/lib/cups/backend
|
||||
CUPS_DATA_DIR = /usr/share/cups
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
#include <fcntl.h>
|
||||
#include <signal.h>
|
||||
|
||||
#include <libusb-1.0/libusb.h>
|
||||
#include <libusb.h>
|
||||
#include <arpa/inet.h>
|
||||
|
||||
#ifndef __BACKEND_COMMON_H
|
||||
|
|
Loading…
Reference in a new issue