* Fix static build
This commit is contained in:
1 parent
034b17cef4
commit
b7206abf11
2 files changed
+4
-1
No files matched your search
@@ -10,6 +10,9 @@ CFLAGS+=-pedantic -std=c99 -DHAVE_USB=${HAVE_USB}
|
|||||||
USBOBJ=../libusb/error.o ../libusb/usb.o ../libusb/descriptors.o
|
USBOBJ=../libusb/error.o ../libusb/usb.o ../libusb/descriptors.o
|
||||||
USBOBJ+=../libusb/linux.o ## XXX not portable
|
USBOBJ+=../libusb/linux.o ## XXX not portable
|
||||||
|
|
||||||
|
CFLAGS+=-I../libusb
|
||||||
|
LDFLAGS+=-L../libusb
|
||||||
|
|
||||||
all: ${BIN}
|
all: ${BIN}
|
||||||
|
|
||||||
${BIN}: ${OBJ}
|
${BIN}: ${OBJ}
|
||||||
|
|||||||
+1
-1
@@ -593,7 +593,7 @@ int reverse_extract_pieces(char *dir)
|
|||||||
{
|
{
|
||||||
char reply;
|
char reply;
|
||||||
|
|
||||||
if (n900)
|
if (is_n900())
|
||||||
return reverse_extract_pieces_n900(dir);
|
return reverse_extract_pieces_n900(dir);
|
||||||
|
|
||||||
printf("Device detected: n770/n800/n900\n");
|
printf("Device detected: n770/n800/n900\n");
|
||||||
|
|||||||
Reference in new issue
Block a user