root/trunk/llmozlib2/update-mac-symbols.sh

Revision 9, 487 bytes (checked in by rob.linden, 2 years ago)

Added files missed in first commit

  • Property svn:eol-style set to native
  • Property svn:executable set to *
Line 
1 #!/bin/sh
2
3 # this script does the necessary magic to extract the desired list of symbols into
4 # the llmozlib2.exp file.
5
6 # exit on any error
7 set -e
8
9 # build the "All Symbols" version
10 xcodebuild -project llmozlib2.xcodeproj -target llmozlib2 -configuration 'All Symbols' build
11
12 # extract the symbols associated with the class "LLMozLib"
13 otool -vT 'build/All Symbols/libllmozlib2.dylib' |\
14 sed -n -e '/.*\.eh/d' -e 's/^single module    \(.*\)/\1/p'|\
15 grep '^__ZN8LLMozLib' >llmozlib2.exp
16
Note: See TracBrowser for help on using the browser.