Comment 13 for bug 380043

Revision history for this message
rroonnaann (ronanm2) wrote :

I added (without deleting anything) :

Import('platform')

if platform == 'win32': # line 144
 env.Append(CPPDEFINES = 'WIN32') #for soundtouch
else:
 env.Append(CCFLAGS = Split(""" -pipe -Wall -W -g """)) # omghax
- env.Append(LINKFLAGS = Split(""" -pipe -Wall -W -g -Wl,-rpath,$QTDIR/lib"""))
+ env.Append(LINKFLAGS = Split(""" -pipe -Wall -W -g"""))
+ if platform != 'osx':
+ env.Append(LINKFLAGS = "-Wl,-rpath,$QTDIR/lib")
 env.Append(CPPDEFINES = "_REENTRANT")

if 'win' in platform:

In SConscript file in the mixxx/src directory.

And then I do :
$ scons -j2
scons: Reading SConscript files ...
Platform: OS X
  File "/Users/ronan/Desktop/Mixxx/1.7/mixxx/src/SConscript", line 150

    + if platform != 'osx':

       ^

SyntaxError: invalid syntax

Just send me the SConscript file you want me to test. And the right command line.