Skip to content

Commit 9e4aae1

Browse files
committed
Add XCFLAGS=-fPIC
1 parent c9088c2 commit 9e4aae1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@ impl Build {
106106
}
107107

108108
make.env("BUILDMODE", "static");
109+
make.env("XCFLAGS", "-fPIC");
109110
self.run_command(make, "building LuaJIT");
110111

111112
for f in &["lauxlib.h", "lua.h", "luaconf.h", "luajit.h", "lualib.h"] {

0 commit comments

Comments
 (0)