summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean McBride <sean@rogue-research.com>2014-04-22 16:53:17 -0400
committerNathan Hjelm <hjelmn@me.com>2014-05-06 01:28:08 -0600
commit7200c567ea74ef050eb944ef2eb31fccef605732 (patch)
treeb8b4a9602c95ec543e9ba3faadeaf11969cb4a99
parenta8f1784c00e62576b0ba1bcf4de86517e2ebd6ef (diff)
downloadlibusb-7200c567ea74ef050eb944ef2eb31fccef605732.tar.gz
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.
-rw-r--r--Xcode/libusb.xcconfig1
-rw-r--r--libusb/version_nano.h2
2 files changed, 2 insertions, 1 deletions
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