components/libusb/wrapper/Makefile
changeset 700 25f37517d706
parent 609 775168282b2f
child 774 d0cbca26a17c
--- a/components/libusb/wrapper/Makefile	Tue Feb 21 09:04:08 2012 -0800
+++ b/components/libusb/wrapper/Makefile	Tue Feb 21 15:21:38 2012 -0800
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../../make-rules/shared-macros.mk
 
@@ -43,6 +43,9 @@
 $(SOURCE_DIR)/.prep:
 	$(TOUCH) $@
 
+$(BUILD_DIR)/libusb-64.pc:	src/libusb-64.pc
+	/bin/sed -e "s#MACH64#$(MACH64)#g" <$< >$@
+
 download:
 
 clobber:	clean