mirror of
https://github.com/godotengine/godot-git-plugin.git
synced 2026-01-06 02:09:44 +03:00
Enable PIC for mac and linux
This commit is contained in:
1
thirdparty/git2/SCsub
vendored
1
thirdparty/git2/SCsub
vendored
@@ -91,6 +91,7 @@ if env_git["platform"] == "windows":
|
|||||||
)
|
)
|
||||||
|
|
||||||
if env_git["platform"] in ["linux", "osx"]:
|
if env_git["platform"] in ["linux", "osx"]:
|
||||||
|
env_git.Append(CCFLAGS = "-fPIC")
|
||||||
libgit2_sources += [
|
libgit2_sources += [
|
||||||
"libgit2/deps/ntlmclient/crypt_openssl.c",
|
"libgit2/deps/ntlmclient/crypt_openssl.c",
|
||||||
"libgit2/deps/ntlmclient/unicode_builtin.c"
|
"libgit2/deps/ntlmclient/unicode_builtin.c"
|
||||||
|
|||||||
2
thirdparty/ssh2/SCsub
vendored
2
thirdparty/ssh2/SCsub
vendored
@@ -63,6 +63,7 @@ if env_ssh2["platform"] == "windows":
|
|||||||
env_ssh2.Append(LIBS = ["crypt32", "user32"])
|
env_ssh2.Append(LIBS = ["crypt32", "user32"])
|
||||||
|
|
||||||
if env_ssh2["platform"] == "osx":
|
if env_ssh2["platform"] == "osx":
|
||||||
|
env_ssh2.Append(CCFLAGS = "-fPIC")
|
||||||
env_ssh2.Append(
|
env_ssh2.Append(
|
||||||
CPPPATH=[
|
CPPPATH=[
|
||||||
"libssh2/include/",
|
"libssh2/include/",
|
||||||
@@ -78,6 +79,7 @@ if env_ssh2["platform"] == "osx":
|
|||||||
)
|
)
|
||||||
|
|
||||||
if env_ssh2["platform"] == "linux":
|
if env_ssh2["platform"] == "linux":
|
||||||
|
env_ssh2.Append(CCFLAGS = "-fPIC")
|
||||||
env_ssh2.Append(
|
env_ssh2.Append(
|
||||||
CPPPATH=[
|
CPPPATH=[
|
||||||
".",
|
".",
|
||||||
|
|||||||
Reference in New Issue
Block a user