[PD-dev] externals/build SConscript

Lorenz Schori lorenz.schori at gmx.ch
Fri Oct 28 15:09:07 CEST 2005


hi

i've done a little work on the SConscript in external build system to  
better support osx:
- define MACOSX for osx builds (for miXed)
- remove -dynamiclib from SHLINKFLAGS and add -bundle and - 
bundle_loader ../../pd/bin/pd
- fink and darwinports locations are added to CPPPATH and LIBPATH if  
they exist
- search for *.libs files in win/darwin/linux and after in src  
directory and add the flags

- some few externals still don't compile because of missing libraries  
and .libs or minor include problems.

perhaps we could introduce some static link option (i'm not sure if  
i'd like statically linked externals). another possibility would be  
to just grep for the used libraries (*.libs) and bundle them with the  
externals or with pd.app (not quite trivial. see: http://qin.laya.com/ 
tech_coding_help/dylib_linking.html).

lorenz

-------------- next part --------------
A non-text attachment was scrubbed...
Name: SConstruct
Type: application/octet-stream
Size: 2403 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-dev/attachments/20051028/1ca16b7c/attachment.obj>


More information about the Pd-dev mailing list