File: sharedlib

package info (click to toggle)
libmceliece 0~20241009-2
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 6,528 kB
  • sloc: asm: 32,164; ansic: 30,689; python: 4,053; sh: 279; makefile: 35
file content (14 lines) | stat: -rwxr-xr-x 280 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh

lib="$1"
shift

so1=`cat scripts/sharedlib-so1`
soname=`cat scripts/sharedlib-soname`
opts=`cat scripts/sharedlib-opts`

scripts/cdcompile . $opts \
  -Wl,-"$soname","$lib"."$so1" \
  -o package/lib/"$lib"."$so1" \
  ofiles/*.o "$@"
chmod 644 package/lib/"$lib"."$so1"