File: link-with-shared

package info (click to toggle)
dbusada 0.6.3-2.1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 748 kB
  • sloc: ada: 5,892; ansic: 98; makefile: 81; sh: 47
file content (20 lines) | stat: -rw-r--r-- 282 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/sh
set -C -e -f -u
cd "$AUTOPKGTEST_TMP"

cat > p.gpr <<EOF
with "dbusada";
project P is
   for Main use ("p.adb");
end P;
EOF
cat > p.adb <<EOF
with D_Bus;
procedure P is
   Bus : constant D_Bus.Bus_Type := D_Bus.Bus_Session;
begin
   null;
end P;
EOF
gprbuild -v p.gpr
./p