| ... | @@ -40,6 +40,12 @@ pub fn detect(allocator: Allocator, native_info: NativeTargetInfo) !NativePaths | ... | @@ -40,6 +40,12 @@ pub fn detect(allocator: Allocator, native_info: NativeTargetInfo) !NativePaths |
| 40 | break; | 40 | break; |
| 41 | }; | 41 | }; |
| 42 | try self.addIncludeDir(include_path); | 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 | } else { | 49 | } else { |
| 44 | if (mem.startsWith(u8, word, "-frandom-seed=")) { | 50 | if (mem.startsWith(u8, word, "-frandom-seed=")) { |
| 45 | continue; | 51 | continue; |