#!/bin/sh

cd "$ADTTMP"
cat > test.c << EOF
#include <libraw/libraw.h>
#include <iostream>
using namespace std;

int main(void)
{
        LibRaw RawProcessor;
        cout << LibRaw::version() << endl;
        return 0;
}

EOF
g++ -Wall -Wl,-lraw -o test test.c
./test
objdump -p test | grep "libraw"
