File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -153,7 +153,7 @@ TPythonVersionProp = record
153
153
(DllName: ' libpython3.9.dylib' ; RegVersion: ' 3.9' ; APIVersion: 1013 ),
154
154
(DllName: ' libpython3.10.dylib' ; RegVersion: ' 3.10' ; APIVersion: 1013 )
155
155
);
156
- { $endif }
156
+ { $ENDIF }
157
157
158
158
COMPILED_FOR_PYTHON_VERSION_INDEX = High(PYTHON_KNOWN_VERSIONS);
159
159
@@ -2954,11 +2954,14 @@ function TDynamicDll.GetDllPath : string;
2954
2954
begin
2955
2955
Result := DllPath;
2956
2956
2957
- { $IFDEF MSWINDOWS}
2958
2957
if DLLPath = ' ' then begin
2958
+ { $IFDEF MSWINDOWS}
2959
2959
IsPythonVersionRegistered(RegVersion, Result, AllUserInstall);
2960
+ { $ENDIF}
2961
+ { $IFDEF DARWIN}
2962
+ Result := ' /Library/Frameworks/Python.framework/Versions/' + RegVersion + ' /lib/' ;
2963
+ { $ENDIF}
2960
2964
end ;
2961
- { $ENDIF}
2962
2965
2963
2966
if Result <> ' ' then
2964
2967
begin
You can’t perform that action at this time.
0 commit comments