build_dll.sh 181 B

123456
  1. set -e
  2. FLAGS="-std=c11 -Iinclude -O0 -Wfatal-errors -g -DDEBUG -DPK_ENABLE_OS=1"
  3. # link libpocketpy.dylib
  4. clang $FLAGS -shared -fPIC src2/hello.c -o libhello.dylib -L. -lpocketpy