A locally compact Hausdorff space is regular. Cover by finitely many open sets whose compact closures lie in ; their union satisfies , with compact. The compact Hausdorff space is normal, so the Urysohn lemma gives a continuous function equal to on and on . Extend by zero outside . The boundary values make the extension continuous, and its support is a compact subset of .
Solved by gpt-5.6-sol high.
Codex Wiki