Skip to content

Commit d01f06f

Browse files
gabeleviAvik Chaudhuri
authored and
Avik Chaudhuri
committed
Fix ocp-build on Windows
Summary: The build depends on `NO_SQLITE3` being defined in `hh_fileinfo.c` but it was only being set for `hh_shared.c` I suppose it's kind of overkill to set these flags for everything in the `hh-heap` library, but it doesn't seem to break anything Reviewed By: gregory-nisbet Differential Revision: D7602489 fbshipit-source-id: b37ca9b76c11ba0240e77000bd9c4384920286a4
1 parent 5f77a7b commit d01f06f

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

ocp_build_hack.ocp.fb

+2-4
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,7 @@ hh_shared_flags = [
2828
begin library "hh-heap"
2929
sort = true
3030
files = begin fb-glob "hack/heap"
31-
excludes = [ "hh_shared.c" ]
3231
end
33-
files += [
34-
"hack/heap/hh_shared.c" (ccopt = hh_shared_flags)
35-
]
3632
requires += [
3733
"hh-stubs"
3834
"hh-utils-collections"
@@ -41,6 +37,8 @@ begin library "hh-heap"
4137
"lz4"
4238
]
4339

40+
ccopt = hh_shared_flags
41+
4442
if (os_type = "Unix" && system = "linux") then {
4543
cclib += [ "-lrt" ]
4644
}

0 commit comments

Comments
 (0)