Skip to content
Permalink
Browse files
Fix macOS framework settings
  • Loading branch information
MatkovIvan committed Jun 25, 2020
1 parent ce42bb7 commit e61bcf89019430a98091f5ad82971b8318a98506
Showing 3 changed files with 8 additions and 5 deletions.
@@ -3730,9 +3730,11 @@
"$(inherited)",
"-DPLCF_MIN_MACOSX_SDK=$(PL_MIN_MACOSX_SDK)",
);
OTHER_LDFLAGS = "-ObjC";
PRELINK_FLAGS = "-w";
PRELINK_LIBS = "$(CONFIGURATION_BUILD_DIR)/lib$(PRODUCT_NAME).a";
SDKROOT = macosx;
SKIP_INSTALL = YES;
};
name = Debug;
};
@@ -3751,9 +3753,11 @@
"$(inherited)",
"-DPLCF_MIN_MACOSX_SDK=$(PL_MIN_MACOSX_SDK)",
);
OTHER_LDFLAGS = "-ObjC";
PRELINK_FLAGS = "-w";
PRELINK_LIBS = "$(CONFIGURATION_BUILD_DIR)/lib$(PRODUCT_NAME).a";
SDKROOT = macosx;
SKIP_INSTALL = YES;
};
name = Release;
};
@@ -115,10 +115,7 @@ static void save_crash_report (PLCrashReporter *reporter) {
* enabled.
*/
static bool debugger_should_exit (void) {
#if !TARGET_OS_IPHONE
return false;
#endif

#if TARGET_OS_IPHONE
struct kinfo_proc info;
size_t info_size = sizeof(info);
int name[4];
@@ -135,7 +132,7 @@ static bool debugger_should_exit (void) {

if ((info.kp_proc.p_flag & P_TRACED) != 0)
return true;
#endif
return false;
}

@@ -20,6 +20,8 @@
<string>1.0</string>
<key>CFBundleShortVersionString</key>
<string>1.0</string>
<key>LSApplicationCategoryType</key>
<string>public.app-category.developer-tools</string>
<key>NSMainNibFile</key>
<string>MainMenu</string>
<key>NSPrincipalClass</key>

0 comments on commit e61bcf8

Please sign in to comment.