xcode "copy files" build phase and symlinks -
i have cmake projects generates xcodeproj. in xcodeproject copies openal*.dylib bundle's /framework directory.
openal (from alsoft) has 3 .dylib files:
- a) openal.dylib, 17 bytes, symlink pointing (b)
- b) openal.1.dylib, 22 bytes, symlink pointing (c)
- c) openal.1.16.0.dylib, 483 kb, actual library
these files copied in "copy files"
now when build application bundle looks this:
- (a) openal.dylib, 22 bytes - assume (b) above
- (b) openal.1.dylib, 483 kb - (c)
- (c) openal.1.16.0.dylib - library itself, 483 kb.
so apparently follow symlink "1 level deep"... ?
how can xcode "follow symlinks end" ? i'd openal.dylib 483kb in bundle. read on should follow symlinks, shouldn't recursively 'to end' ?
quick workaround delete/overwrite openal.dylib openal.1.16.0.dylib... better alternatives xcode follow symlink-chain end ?
Comments
Post a Comment