add -fPIC to ncurses

This commit is contained in:
ruki
2018-11-26 23:56:42 +08:00
parent dacbb5e437
commit 206727e3bf

View File

@@ -43,7 +43,7 @@ else
add_requires("lua", {nolink = not is_plat("windows")})
end
if not is_plat("windows") then
add_requires("ncurses")
add_requires("ncurses", {config = {cflags = "-fPIC"}})
end
-- add target