File: sharedlib

package info (click to toggle)
librandombytes 0~20240318-3
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 328 kB
  • sloc: ansic: 411; python: 340; sh: 137; makefile: 23
file content (13 lines) | stat: -rwxr-xr-x 237 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/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"