Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f42daa71 authored by Steven Moreland's avatar Steven Moreland Committed by Gerrit Code Review
Browse files

Merge "Export header check allows WholeStaticLibs"

parents d0afefa4 ba407c8a
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1892,8 +1892,8 @@ func (c *Module) deps(ctx DepsContext) Deps {
	}

	for _, lib := range deps.ReexportStaticLibHeaders {
		if !inList(lib, deps.StaticLibs) {
			ctx.PropertyErrorf("export_static_lib_headers", "Static library not in static_libs: '%s'", lib)
		if !inList(lib, deps.StaticLibs) && !inList(lib, deps.WholeStaticLibs) {
			ctx.PropertyErrorf("export_static_lib_headers", "Static library not in static_libs or whole_static_libs: '%s'", lib)
		}
	}