#!/bin/sh -ex cd dlfcn-win32 ./configure make cp libdl.a /root cd src tar -czf dlfcn.tar.gz dlfcn.h mv dlfcn.tar.gz /root