File: compilation

package info (click to toggle)
libfixbuf 2.2.0%2Bds-2
  • links: PTS
  • area: main
  • in suites: buster
  • size: 1,696 kB
  • sloc: ansic: 12,707; xml: 12,599; perl: 245; makefile: 84; 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)