Skip to content

Commit d07b4a6

Browse files
committed
Build static library with -fPIC so it can be linked into a dynamic library
1 parent 5b88dc2 commit d07b4a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Jamroot

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ project
44

55
lib lua
66
: [ glob src/*.c : src/lua.c src/luac.c ]
7-
: <link>static
7+
: <link>static <cflags>-fPIC
88
;
99

1010
exe tools/luac

0 commit comments

Comments
 (0)