diff options
author | pancake@localhost.localdomain <pancake@localhost.localdomain> | 2009-10-17 15:51:00 +0200 |
---|---|---|
committer | pancake@localhost.localdomain <pancake@localhost.localdomain> | 2009-10-17 15:51:00 +0200 |
commit | b7206abf1156f5834e6c5c014703d95ae2969c93 (patch) | |
tree | 42d4219840aee99e9da8e0d8cf5381470774874e | |
parent | 034b17cef42f293e2048b44c074d70b3a8695339 (diff) | |
download | 0xFFFF-b7206abf1156f5834e6c5c014703d95ae2969c93.tar.bz2 |
* Fix static build
-rw-r--r-- | src/Makefile | 3 | ||||
-rw-r--r-- | src/dump.c | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/src/Makefile b/src/Makefile index 2e8990d..a2231cb 100644 --- a/src/Makefile +++ b/src/Makefile @@ -10,6 +10,9 @@ CFLAGS+=-pedantic -std=c99 -DHAVE_USB=${HAVE_USB} USBOBJ=../libusb/error.o ../libusb/usb.o ../libusb/descriptors.o USBOBJ+=../libusb/linux.o ## XXX not portable +CFLAGS+=-I../libusb +LDFLAGS+=-L../libusb + all: ${BIN} ${BIN}: ${OBJ} @@ -593,7 +593,7 @@ int reverse_extract_pieces(char *dir) { char reply; - if (n900) + if (is_n900()) return reverse_extract_pieces_n900(dir); printf("Device detected: n770/n800/n900\n"); |