only link to one jemalloc build

Without setting JEMALLOC_OVERRIDE, we end up linking to two different
jemalloc builds. Once dynamically, as a transitive dependency through
rocksdb, and a second time to the static jemalloc that tikv-jemalloc-sys
builds.
This commit is contained in:
Benjamin Lee 2024-05-23 13:32:43 -07:00
parent eb8dd9cb44
commit bec507d739
No known key found for this signature in database
GPG key ID: FB9624E2885D55A4
2 changed files with 23 additions and 3 deletions

View file

@ -184,8 +184,8 @@
# Needed for building with io_uring
pkgsHost.liburing
] else [])
++
scopeHost.main.nativeBuildInputs;
++ scopeHost.main.propagatedBuildInputs
++ scopeHost.main.nativeBuildInputs;
};
});
}