diff --git a/tools/install/macosx/lazarus.packproj.template b/tools/install/macosx/lazarus.packproj.template index ecb81b2db1..06a8939161 100644 --- a/tools/install/macosx/lazarus.packproj.template +++ b/tools/install/macosx/lazarus.packproj.template @@ -347,6 +347,55 @@ UID 0 + + Children + + + Children + + GID + 0 + Path + ./bin/lazarus + Path Type + 2 + Privileges + 493 + Type + 3 + UID + 0 + + + Children + + GID + 0 + Path + ./bin/startlazarus + Path Type + 2 + Privileges + 493 + Type + 3 + UID + 0 + + + GID + 0 + Path + bin + Path Type + 0 + Privileges + 493 + Type + 1 + UID + 0 + GID 0 diff --git a/tools/install/macosx/makelazsnapshot.sh b/tools/install/macosx/makelazsnapshot.sh index 6e23eecb6b..046933c015 100755 --- a/tools/install/macosx/makelazsnapshot.sh +++ b/tools/install/macosx/makelazsnapshot.sh @@ -44,6 +44,12 @@ make lcl LCL_PLATFORM=carbon PP=$COMPILER strip lazarus strip startlazarus +# create symlinks +mkdir -p $BUILDDIR\bin +cd $BUILDDIR\bin +ln -s ../share/lazarus/lazarus lazarus +ln -s ../share/lazarus/startlazarus lazarus + # copy license file, it must be a txt file. cp $LAZBUILDDIR/COPYING.GPL $BUILDDIR/License.txt