summaryrefslogtreecommitdiff
path: root/scp2/source/python/profileitem_python.scp
diff options
context:
space:
mode:
Diffstat (limited to 'scp2/source/python/profileitem_python.scp')
-rw-r--r--scp2/source/python/profileitem_python.scp4
1 files changed, 3 insertions, 1 deletions
diff --git a/scp2/source/python/profileitem_python.scp b/scp2/source/python/profileitem_python.scp
index ee4dac62b9fa..e66eb1aa7602 100644
--- a/scp2/source/python/profileitem_python.scp
+++ b/scp2/source/python/profileitem_python.scp
@@ -38,8 +38,10 @@ ProfileItem gid_Profileitem_Pythonloader_Pythonhome
Section = "Bootstrap";
Order = 1;
Key = "PYUNO_LOADER_PYTHONHOME";
- #ifdef MACOSX
+ #if defined ENABLE_MACOSX_MACLIKE_APP_STRUCTURE
Value = "$ORIGIN/../Frameworks/LibreOfficePython.framework";
+ #elif defined MACOSX
+ Value = CONCAT2($ORIGIN,/LibreOfficePython.framework);
#else
Value = CONCAT2($ORIGIN/python-core-,PYVERSION);
#endif