File: ldflags

package info (click to toggle)
pari 2.17.3-1
  • links: PTS
  • area: main
  • in suites: forky, sid
  • size: 24,508 kB
  • sloc: ansic: 281,184; sh: 861; perl: 420; yacc: 214; makefile: 162; f90: 88
file content (11 lines) | stat: -rwxr-xr-x 125 bytes parent folder | download | duplicates (12)
1
2
3
4
5
6
7
8
9
10
11
#! /bin/sh
t=$1; shift
if test -n "$t"; then
  L=-Wl
  for c in "$@"; do
    L=$L,"$c"
  done;
  echo $L
else
  echo "$@"
fi