Skip to content
Browse files

Included libssh2 ver 1.4.3 build final.

  • Loading branch information...
1 parent 9cf932f commit e3a11e2206c49eb495d945c1e312ba6ec72cbea5 @dodgio dodgio committed Dec 2, 2012
Showing with 12 additions and 19 deletions.
  1. +8 −19 libssh2-README.txt
  2. +4 −0 libssh2.xcodeproj/project.pbxproj
View
27 libssh2-README.txt
@@ -1,23 +1,12 @@
-OpenSSL is not a git submodule because openssl.org is a little behind the times.
-They still use CVS.
+libssh2 is a git submodule - be sure to update it via git
-So, the way to update the version of openssl we compile is:
-1. Download a new version of the source distribution and corresponding MD5 file.
- http://www.openssl.org/source/
-2. Verify the MD5.
-3. Unpack the tgz. You should get a folder named something like "openssl-1.0.1c".
-4. Replace the entire contents of the "openssl" folder in this folder with the contents of the unpacked distribution.
-5. Make a new git commit, etc.
-
-You can check the version of the OpenSSL source by looking in the README file.
-
-How to build openssl for Sandvox:
+How to build libssh2:
1. Update the source to a new version if desired.
-2. Select the target "openssl" in the Scheme popup.
+2. Select the target "libssh2" in the Scheme popup (32- or 64-bit doesn't matter).
3. Build. Just a regular Cmd-B build. No archiving or anything.
- Because the builds are controlled by scripts, not Xcode, they always build for "release" with -O3, but also with debug info (such as it is with -O3).
+ Because the builds are controlled by scripts, not Xcode, they always build for "release", but also with debug info.
Note also that the build outputs are:
- libcrypto.dylib & libcrypto.dylib.dSYM
- libssl.dylib & libssl.dylib.dSYM
- All we're interested in is the libraries, not the app, etc.
-4. Make a new git commit if needed.
+ libssh2.dylib & libssh2.dylib.dSYM
+4. Make a new git commit if needed. Git is tracking the built dylib & dSYM as well as the source.
+
+After updating/rebuilding libssh2, you should update/rebuild any libraries, frameworks, or apps that depend on it, such as libcurl & SFTP.
View
4 libssh2.xcodeproj/project.pbxproj
@@ -340,6 +340,7 @@
800802ED1667F715004D39F5 /* Release */,
);
defaultConfigurationIsVisible = 0;
+ defaultConfigurationName = Release;
};
800802F01667F731004D39F5 /* Build configuration list for PBXAggregateTarget "libssh2-clean" */ = {
isa = XCConfigurationList;
@@ -348,6 +349,7 @@
800802F21667F731004D39F5 /* Release */,
);
defaultConfigurationIsVisible = 0;
+ defaultConfigurationName = Release;
};
800802F41667F73C004D39F5 /* Build configuration list for PBXAggregateTarget "libssh2-i386" */ = {
isa = XCConfigurationList;
@@ -356,6 +358,7 @@
800802F61667F73C004D39F5 /* Release */,
);
defaultConfigurationIsVisible = 0;
+ defaultConfigurationName = Release;
};
800802F81667F74A004D39F5 /* Build configuration list for PBXAggregateTarget "libssh2-x86_64" */ = {
isa = XCConfigurationList;
@@ -364,6 +367,7 @@
800802FA1667F74A004D39F5 /* Release */,
);
defaultConfigurationIsVisible = 0;
+ defaultConfigurationName = Release;
};
/* End XCConfigurationList section */
};

0 comments on commit e3a11e2

Please sign in to comment.
Something went wrong with that request. Please try again.