Built mac hidapi binary
authorthequux <thequux@12e2690d-a6be-4b82-a7b7-67c4a43b65c8>
Mon, 29 Aug 2011 07:04:39 +0000 (07:04 +0000)
committerthequux <thequux@12e2690d-a6be-4b82-a7b7-67c4a43b65c8>
Mon, 29 Aug 2011 07:04:39 +0000 (07:04 +0000)
git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@1040 12e2690d-a6be-4b82-a7b7-67c4a43b65c8

client/lib/Makefile
client/lib/hidapi-darwin.dylib [new file with mode: 0755]

index 8f305be..04a4c1c 100644 (file)
@@ -7,3 +7,6 @@ hidapi-linux2-x86_64.so:
 
 hidapi-linux2-x86_32.so:
        make -C hidapi/linux EXTRA_CFLAGS=-m32 clean hidapi.so && mv hidapi/linux/hidapi.so $@
+
+hidapi-darwin.dylib: hidapi/mac/hid.c
+       gcc -dynamiclib -Wl,-headerpad_max_install_names,-undefined,dynamic_lookup,-compatibility_version,1.0,-current_version,1.0,-install_name,$@ -o $@ $< -I hidapi/hidapi -framework IOKit
\ No newline at end of file
diff --git a/client/lib/hidapi-darwin.dylib b/client/lib/hidapi-darwin.dylib
new file mode 100755 (executable)
index 0000000..23f7eae
Binary files /dev/null and b/client/lib/hidapi-darwin.dylib differ