diff --git a/rhodium/test/Git/Rhodium/rhodium/test/test.o b/rhodium/test/Git/Rhodium/rhodium/test/test.o deleted file mode 100644 index 9b30fb7..0000000 Binary files a/rhodium/test/Git/Rhodium/rhodium/test/test.o and /dev/null differ diff --git a/rhodium/test/ffi_test.py b/rhodium/test/ffi_test.py index b898bb1..c712003 100644 --- a/rhodium/test/ffi_test.py +++ b/rhodium/test/ffi_test.py @@ -16,7 +16,7 @@ # You should have received a copy of the GNU General Public License # along with Rhodium. If not, see . import os -improt platform +import platform import subprocess import unittest from ..model import * @@ -42,7 +42,7 @@ def setUpClass(cls): elif platform.system() == "Windows": libname = "test.dll" - result = subprocess.run(["gcc", "-shared", "-o", lib_name, "-c", src], capture_output=True) + result = subprocess.run(["gcc", "-shared", "-fPIC", "-o", libname, "-c", src], capture_output=True) print(result.stdout) print(result.stderr) result.check_returncode()