1 2 3 4 5 6 7 8 9
#!/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