From 7200c567ea74ef050eb944ef2eb31fccef605732 Mon Sep 17 00:00:00 2001 From: Sean McBride Date: Tue, 22 Apr 2014 16:53:17 -0400 Subject: [PATCH] Use @rpath in Xcode project In the Xcode project, set: LD_DYLIB_INSTALL_NAME = @rpath Such that the built dylib's install name uses rpath, which is generally what one wants. --- Xcode/libusb.xcconfig | 1 + libusb/version_nano.h | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Xcode/libusb.xcconfig b/Xcode/libusb.xcconfig index 1f8a01f..12f0c46 100644 --- a/Xcode/libusb.xcconfig +++ b/Xcode/libusb.xcconfig @@ -18,3 +18,4 @@ // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA PRODUCT_NAME = libusb-1.0.0 +LD_DYLIB_INSTALL_NAME = @rpath/libusb-1.0.0.dylib diff --git a/libusb/version_nano.h b/libusb/version_nano.h index 82c1717..9516b27 100644 --- a/libusb/version_nano.h +++ b/libusb/version_nano.h @@ -1 +1 @@ -#define LIBUSB_NANO 10881 +#define LIBUSB_NANO 10882