File: compilation

package info (click to toggle)
libfixbuf 2.4.0%2Bds-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 1,968 kB
  • sloc: xml: 16,398; ansic: 14,446; perl: 331; makefile: 155; sh: 10
file content (16 lines) | stat: -rw-r--r-- 232 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh

set -exu

cd "$ADTTMP"

tee main.c << END
#include <fixbuf/public.h>
int main() {
    fbBasicList_t* l = fbBasicListAlloc();
    fbBasicListFree(l);
    return 0;
}
END

gcc main.c $(pkg-config --cflags --libs libfixbuf)