summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Kuten <ivan.kuten@promwad.com>2007-11-09 09:26:37 +0000
committerIvan Kuten <ivan.kuten@promwad.com>2007-11-09 09:26:37 +0000
commitf84517a3838a2d828b38997329d6953dfc92519f (patch)
tree8cb7a8312ab0759bddefdba61a2c63296e11eb4e
parentf81ce174a9e69a5143e4c51324a253b45ff0798d (diff)
remove g++ dependency from libusb
-rw-r--r--package/libusb/libusb-0.1.12-nocpp.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/package/libusb/libusb-0.1.12-nocpp.patch b/package/libusb/libusb-0.1.12-nocpp.patch
new file mode 100644
index 000000000..de1a8c7db
--- /dev/null
+++ b/package/libusb/libusb-0.1.12-nocpp.patch
@@ -0,0 +1,20 @@
+--- libusb-0.1.12/Makefile.am 2006-03-04 13:52:46.000000000 +1100
++++ libusb-0.1.12/Makefile.am.new 2007-11-08 16:25:38.000000000 +1100
+@@ -4,7 +4,7 @@
+ # gnu strictness chokes on README being autogenerated
+ AUTOMAKE_OPTIONS = 1.4 foreign
+
+-SUBDIRS = . tests doc
++SUBDIRS = . doc
+
+ AM_CFLAGS = -Werror
+
+@@ -19,7 +19,7 @@
+ apidocs/footer.html apidocs/doxygen.css apidocs/doxygen.png libusb.pc.in
+ EXTRA_libusb_la_SOURCE = linux.c linux.h bsd.c darwin.c
+
+-lib_LTLIBRARIES = libusb.la libusbpp.la
++lib_LTLIBRARIES = libusb.la
+
+ pkgconfig_DATA = libusb.pc
+