Skip to content

Commit

Permalink
Manually link libgit2 libraries from the current directory
Browse files Browse the repository at this point in the history
  • Loading branch information
jspahrsummers committed Sep 13, 2012
1 parent 3013104 commit 5c01f24
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions ObjectiveGitFramework.xcodeproj/project.pbxproj
Expand Up @@ -1028,6 +1028,7 @@
"$(inherited)",
"\"$(SRCROOT)\"",
);
OTHER_LDFLAGS = "-lgit2-iOS";
PRODUCT_NAME = "ObjectiveGit-iOS";
PUBLIC_HEADERS_FOLDER_PATH = /usr/local/include/ObjectiveGit;
SDKROOT = iphoneos;
Expand All @@ -1052,6 +1053,7 @@
"$(inherited)",
"\"$(SRCROOT)\"",
);
OTHER_LDFLAGS = "-lgit2-iOS";
PRODUCT_NAME = "ObjectiveGit-iOS";
PUBLIC_HEADERS_FOLDER_PATH = /usr/local/include/ObjectiveGit;
SDKROOT = iphoneos;
Expand Down Expand Up @@ -1089,6 +1091,7 @@
"\"$(SRCROOT)\"",
);
MACH_O_TYPE = mh_dylib;
OTHER_LDFLAGS = "-lgit2";
PRODUCT_NAME = ObjectiveGit;
WARNING_CFLAGS = (
"-Wall",
Expand Down Expand Up @@ -1127,6 +1130,7 @@
"\"$(SRCROOT)\"",
);
MACH_O_TYPE = mh_dylib;
OTHER_LDFLAGS = "-lgit2";
PRODUCT_NAME = ObjectiveGit;
WARNING_CFLAGS = (
"-Wall",
Expand All @@ -1149,6 +1153,7 @@
GCC_WARN_UNUSED_VARIABLE = YES;
HEADER_SEARCH_PATHS = "\"$(SRCROOT)/libgit2/include\"";
INSTALL_PATH = "@executable_path/../Frameworks";
LIBRARY_SEARCH_PATHS = .;
MACOSX_DEPLOYMENT_TARGET = 10.6;
ONLY_ACTIVE_ARCH = YES;
SDKROOT = macosx;
Expand All @@ -1169,6 +1174,7 @@
GCC_WARN_UNUSED_VARIABLE = YES;
HEADER_SEARCH_PATHS = "\"$(SRCROOT)/libgit2/include\"";
INSTALL_PATH = "@executable_path/../Frameworks";
LIBRARY_SEARCH_PATHS = .;
MACOSX_DEPLOYMENT_TARGET = 10.6;
SDKROOT = macosx;
TEST_AFTER_BUILD = YES;
Expand Down Expand Up @@ -1233,14 +1239,20 @@
D0A330F416027F3700A616FA /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ARCHS = "$(ARCHS_STANDARD_32_BIT)";
PRODUCT_NAME = "$(TARGET_NAME)";
SDKROOT = iphoneos;
VALID_ARCHS = "i386 armv7";
};
name = Debug;
};
D0A330F516027F3700A616FA /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ARCHS = "$(ARCHS_STANDARD_32_BIT)";
PRODUCT_NAME = "$(TARGET_NAME)";
SDKROOT = iphoneos;
VALID_ARCHS = "i386 armv7";
};
name = Release;
};
Expand Down Expand Up @@ -1290,6 +1302,7 @@
D0A330F016027F1E00A616FA /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
D0A330F316027F3700A616FA /* Build configuration list for PBXAggregateTarget "libgit2-iOS" */ = {
isa = XCConfigurationList;
Expand All @@ -1298,6 +1311,7 @@
D0A330F516027F3700A616FA /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
/* End XCConfigurationList section */
};
Expand Down

0 comments on commit 5c01f24

Please sign in to comment.