mirror of
https://github.com/CoolProp/CoolProp.git
synced 2026-04-23 03:00:17 -04:00
14 lines
252 B
Bash
Executable File
14 lines
252 B
Bash
Executable File
#!/bin/sh
|
|
|
|
TMPDIR="/tmp"
|
|
OBJCOPY_EXE="powerpc-wrs-vxworks-objcopy"
|
|
NM_EXE="powerpc-wrs-vxworks-nm"
|
|
OBJ=$1
|
|
|
|
shift 1
|
|
|
|
$NM_EXE "$@" | cut -d ' ' -f 3 | sed '/^$/d' > $TMPDIR/$$.syms
|
|
$OBJCOPY_EXE --localize-symbols=$TMPDIR/$$.syms $OBJ
|
|
|
|
rm $TMPDIR/$$.syms
|