| ... | ... | @@ -40,6 +40,12 @@ pub fn detect(allocator: Allocator, native_info: NativeTargetInfo) !NativePaths |
| 40 | 40 | break; |
| 41 | 41 | }; |
| 42 | 42 | try self.addIncludeDir(include_path); |
| 43 | } else if (mem.eql(u8, word, "-iframework")) { |
| 44 | const framework_path = it.next() orelse { |
| 45 | try self.addWarning("Expected argument after -iframework in NIX_CFLAGS_COMPILE"); |
| 46 | break; |
| 47 | }; |
| 48 | try self.addFrameworkDir(framework_path); |
| 43 | 49 | } else { |
| 44 | 50 | if (mem.startsWith(u8, word, "-frandom-seed=")) { |
| 45 | 51 | continue; |