Skip to content

Commit

Permalink
forward framework dirs to embedded clang in addition to linker on osx
Browse files Browse the repository at this point in the history
  • Loading branch information
gustavolsson committed Sep 8, 2019
1 parent 229323e commit ec13fa3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -784,7 +784,9 @@ int main(int argc, char **argv) {
} else if (strcmp(arg, "--library-path") == 0 || strcmp(arg, "-L") == 0) {
lib_dirs.append(argv[i]);
} else if (strcmp(arg, "-F") == 0) {
framework_dirs.append(argv[i]);
framework_dirs.append(argv[i]); // embedded linker
clang_argv.append("-iframework"); // embedded clang
clang_argv.append(argv[i]);
} else if (strcmp(arg, "--library") == 0 || strcmp(arg, "-l") == 0) {
if (strcmp(argv[i], "c") == 0)
have_libc = true;
Expand Down

0 comments on commit ec13fa3

Please sign in to comment.