Skip to content

Commit e7c0e05

Browse files
committed
Statically link libssh2 from /usr/local/lib
1 parent b9009a0 commit e7c0e05

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

ObjectiveGitFramework.xcodeproj/project.pbxproj

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,6 @@
134134
6A1F2FD517C6A8F3003DFADE /* libcrypto.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 6A1F2FD317C6A8F3003DFADE /* libcrypto.a */; };
135135
6A1F2FD617C6A8F3003DFADE /* libssl.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 6A1F2FD417C6A8F3003DFADE /* libssl.a */; };
136136
6A502B8717D6892D00BAF4A5 /* libssh2.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 6A502B8617D6892D00BAF4A5 /* libssh2.a */; };
137-
6A5F84D917E30374003156A2 /* libssh2.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 6A5F84D817E30374003156A2 /* libssh2.dylib */; };
138137
6A74CA3216A9429700E1A3C5 /* GTRemote.m in Sources */ = {isa = PBXBuildFile; fileRef = 883CD6AA1600EBC600F57354 /* GTRemote.m */; };
139138
6A74CA3416A942AA00E1A3C5 /* NSData+Git.m in Sources */ = {isa = PBXBuildFile; fileRef = BD6C2267131459E700992935 /* NSData+Git.m */; };
140139
6A74CA3616A942C000E1A3C5 /* GTConfiguration+Private.h in Headers */ = {isa = PBXBuildFile; fileRef = 883CD6AE1600F01000F57354 /* GTConfiguration+Private.h */; settings = {ATTRIBUTES = (Private, ); }; };
@@ -400,8 +399,6 @@
400399
6A1F2FD417C6A8F3003DFADE /* libssl.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = libssl.a; path = "External/ios-openssl/lib/libssl.a"; sourceTree = "<group>"; };
401400
6A3C60A017D5987600382DFF /* update_libssh2_ios */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.script.sh; name = update_libssh2_ios; path = script/update_libssh2_ios; sourceTree = SOURCE_ROOT; };
402401
6A502B8617D6892D00BAF4A5 /* libssh2.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = libssh2.a; path = "External/libssh2-ios/lib/libssh2.a"; sourceTree = "<group>"; };
403-
6A5F84D617E3034A003156A2 /* libssh2.1.dylib */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.dylib"; name = libssh2.1.dylib; path = /usr/local/Cellar/libssh2/1.4.3/lib/libssh2.1.dylib; sourceTree = "<absolute>"; };
404-
6A5F84D817E30374003156A2 /* libssh2.dylib */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.dylib"; name = libssh2.dylib; path = /usr/local/lib/libssh2.dylib; sourceTree = "<absolute>"; };
405402
79262F0E13C697BE00A4B1EA /* git2 */ = {isa = PBXFileReference; lastKnownFileType = folder; name = git2; path = External/libgit2/include/git2; sourceTree = "<group>"; };
406403
79262F8A13C69B1600A4B1EA /* git2.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = git2.h; path = External/libgit2/include/git2.h; sourceTree = "<group>"; };
407404
8803DA861313145700E6E818 /* libz.dylib */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.dylib"; name = libz.dylib; path = usr/lib/libz.dylib; sourceTree = SDKROOT; };
@@ -542,7 +539,6 @@
542539
isa = PBXFrameworksBuildPhase;
543540
buildActionMask = 2147483647;
544541
files = (
545-
6A5F84D917E30374003156A2 /* libssh2.dylib in Frameworks */,
546542
887DAFFD15CB1CE200F30D0D /* libssl.dylib in Frameworks */,
547543
887DAFFC15CB1CBD00F30D0D /* libcrypto.dylib in Frameworks */,
548544
8DC2EF570486A6940098B216 /* Cocoa.framework in Frameworks */,
@@ -605,8 +601,6 @@
605601
children = (
606602
887DAFF915CB1C9F00F30D0D /* libssl.dylib */,
607603
887DAFFB15CB1CBD00F30D0D /* libcrypto.dylib */,
608-
6A5F84D617E3034A003156A2 /* libssh2.1.dylib */,
609-
6A5F84D817E30374003156A2 /* libssh2.dylib */,
610604
8803DA861313145700E6E818 /* libz.dylib */,
611605
04DB4671133AB5FE00D9C624 /* libz.dylib */,
612606
6A1F2FD317C6A8F3003DFADE /* libcrypto.a */,
@@ -1458,12 +1452,12 @@
14581452
LIBRARY_SEARCH_PATHS = (
14591453
.,
14601454
External,
1461-
/usr/local/lib,
14621455
);
14631456
OTHER_LDFLAGS = (
14641457
"-lgit2",
14651458
"-force_load",
14661459
External/libgit2.a,
1460+
/usr/local/lib/libssh2.a,
14671461
);
14681462
PRODUCT_NAME = ObjectiveGit;
14691463
WRAPPER_EXTENSION = framework;
@@ -1483,12 +1477,12 @@
14831477
LIBRARY_SEARCH_PATHS = (
14841478
.,
14851479
External,
1486-
/usr/local/lib,
14871480
);
14881481
OTHER_LDFLAGS = (
14891482
"-lgit2",
14901483
"-force_load",
14911484
External/libgit2.a,
1485+
/usr/local/lib/libssh2.a,
14921486
);
14931487
PRODUCT_NAME = ObjectiveGit;
14941488
WRAPPER_EXTENSION = framework;
@@ -1637,12 +1631,12 @@
16371631
LIBRARY_SEARCH_PATHS = (
16381632
.,
16391633
External,
1640-
/usr/local/lib,
16411634
);
16421635
OTHER_LDFLAGS = (
16431636
"-lgit2",
16441637
"-force_load",
16451638
External/libgit2.a,
1639+
/usr/local/lib/libssh2.a,
16461640
);
16471641
PRODUCT_NAME = ObjectiveGit;
16481642
WRAPPER_EXTENSION = framework;

0 commit comments

Comments
 (0)