From 04092c2cc5d7d9234d0cc23b382c3a1c4531e074 Mon Sep 17 00:00:00 2001
From: na-Itms <na.itms76@gmail.com>
Date: Sat, 3 Sep 2016 18:16:41 +0200
Subject: [PATCH] Build with -fPIC
---
build/premake/premake4.lua | 1 +
1 file changed, 1 insertion(+)
diff --git a/build/premake/premake4.lua b/build/premake/premake4.lua
index 999759a..8dfaa66 100644
a
|
b
|
function project_set_build_flags()
|
281 | 281 | end |
282 | 282 | |
283 | 283 | if os.is("linux") or os.is("bsd") then |
| 284 | buildoptions { "-fPIC" } |
284 | 285 | linkoptions { "-Wl,--no-undefined", "-Wl,--as-needed" } |
285 | 286 | end |
286 | 287 | |