Mercurial > mxe-octave
comparison tools/make-shared-from-static @ 3070:d89eccc2edd3
[MSVC] enable zlib compilation
author | Michael Goffioul <michael.goffioul@gmail.com> |
---|---|
date | Fri, 21 Jun 2013 09:42:47 -0400 |
parents | 4c047285ea8a |
children | a46b4b6fc26f |
comparison
equal
deleted
inserted
replaced
3069:076acecb9c21 | 3070:d89eccc2edd3 |
---|---|
146 fi | 146 fi |
147 | 147 |
148 NM=nm | 148 NM=nm |
149 SED=sed | 149 SED=sed |
150 global_symbol_pipe="sed -n -e 's/^.*[ ]\\([ABCDGIRSTW][ABCDGIRSTW]*\\)[ ][ ]*_\\([_A-Za-z][_A-iZa-z0-9]*\\)\\{0,1\\}\$/\\1 _\\2 \\2/p' | sed '/ __gnu_lto/d'" | 150 global_symbol_pipe="sed -n -e 's/^.*[ ]\\([ABCDGIRSTW][ABCDGIRSTW]*\\)[ ][ ]*_\\([_A-Za-z][_A-iZa-z0-9]*\\)\\{0,1\\}\$/\\1 _\\2 \\2/p' | sed '/ __gnu_lto/d'" |
151 export_symbols_cmds="\$NM \$libobjs \$convenience | \$global_symbol_pipe | \$SED -e '/^[BCDGRS][ ]/s/.*[ ]\\\\([^ ]*\\\\)/\\\\1,DATA/' | \$SED -e '/^[AITW][ ]/s/.*[ ]//' | sort | uniq >> \$export_symbols" | 151 # Ignore DATA symbols for now. They should be be properly exported from |
152 # the source code using dllexport. They can't be re-exported manually like | |
153 # this using MSVC. | |
154 #export_symbols_cmds="\$NM \$libobjs \$convenience | \$global_symbol_pipe | \$SED -e '/^[BCDGRS][ ]/s/.*[ ]\\\\([^ ]*\\\\)/\\\\1,DATA/' | \$SED -e '/^[AITW][ ]/s/.*[ ]//' | sort | uniq >> \$export_symbols" | |
155 export_symbols_cmds="\$NM \$libobjs \$convenience | \$global_symbol_pipe | \$SED -e '/^[BCDGRS][ ]/d' | \$SED -e '/^[AITW][ ]/s/.*[ ]//' | sort | uniq >> \$export_symbols" | |
152 | 156 |
153 mkdir $tmpdir | 157 mkdir $tmpdir |
154 | 158 |
155 ( | 159 ( |
156 cd $tmpdir | 160 cd $tmpdir |