Merge branch 'dylibbundler' into master

This commit is contained in:
Kp 2021-04-08 01:58:17 +00:00
commit 809af29875
2 changed files with 6 additions and 1 deletions

View file

@ -136,7 +136,8 @@ DXX-Rebirth can be built from the Terminal (via SCons) without Xcode; to build u
sdl\_mixer
physfs
libpng
pkg-config**
pkg-config
dylibbundler**
### Building
Once prerequisites are installed, run **scons** *options* to build. By default, both D1X-Rebirth and D2X-Rebirth are built. To build only D1X-Rebirth, run **scons d1x=1**. To build only D2X-Rebirth, run **scons d2x=1**.

View file

@ -5254,6 +5254,10 @@ class DXXProgram(DXXCommon):
typecode='APPL', creator='DCNT',
icon_file=os.path.join(cocoa, '%s-rebirth.icns' % dxxstr),
resources=[[os.path.join(self.srcdir, s), s] for s in ['English.lproj/InfoPlist.strings']])
if not self.user_settings.macos_add_frameworks:
Command('%s.app/Contents/libs' % self.PROGRAM_NAME,
'%s.app/Contents/MacOS/%s-rebirth' % (self.PROGRAM_NAME, dxxstr),
"dylibbundler -od -b -x $SOURCE -d $TARGET")
class D1XProgram(DXXProgram):
LazyObjectState = DXXProgram.LazyObjectState