#!/bin/sh lib="$1" shift so1=`cat scripts/sharedlib-so1` soname=`cat scripts/sharedlib-soname` scripts/cdcompile . -shared \ -Wl,-"$soname","$lib"."$so1" \ -o package/lib/"$lib"."$so1" \ "$@" chmod 644 package/lib/"$lib"."$so1"