diff --git a/packages/g/gperf/xmake.lua b/packages/g/gperf/xmake.lua index 93979cbd11a..ed484d6af15 100644 --- a/packages/g/gperf/xmake.lua +++ b/packages/g/gperf/xmake.lua @@ -27,7 +27,7 @@ package("gperf") on_install("@macosx", "@linux", "@bsd", "@msys", function (package) io.replace("lib/getline.cc", "register", "", {plain = true}) - io.replace("lib/getopt.cc", "register", "", {plain = true}) + io.replace("lib/getopt.c", "register", "", {plain = true}) import("package.tools.autoconf").install(package) end)