add -fPIC to ncurses
This commit is contained in:
@@ -43,7 +43,7 @@ else
|
|||||||
add_requires("lua", {nolink = not is_plat("windows")})
|
add_requires("lua", {nolink = not is_plat("windows")})
|
||||||
end
|
end
|
||||||
if not is_plat("windows") then
|
if not is_plat("windows") then
|
||||||
add_requires("ncurses")
|
add_requires("ncurses", {config = {cflags = "-fPIC"}})
|
||||||
end
|
end
|
||||||
|
|
||||||
-- add target
|
-- add target
|
||||||
|
Reference in New Issue
Block a user