DEADSOFTWARE

it is now possible to link windoze LibJIT and ENet as static libs (see commit comments)
authorKetmar Dark <ketmar@ketmar.no-ip.org>
Sat, 7 Oct 2017 11:45:27 +0000 (14:45 +0300)
committerKetmar Dark <ketmar@ketmar.no-ip.org>
Sat, 7 Oct 2017 12:31:57 +0000 (15:31 +0300)
commitb9e7124a96d4ccc050a29a98361197d211796e32
treeb25fcfe5291c5c2ef83bc2f0c36ffad454b8ca28
parentd48835ed248033dcbc23b465a0d7408aa5c2ae3b
it is now possible to link windoze LibJIT and ENet as static libs (see commit comments)

  first, you need to clone http://repo.or.cz/d2df-binlib.git (repo with prebuilt windoze libs)
  then, you can use:
    -dLIBJIT_WINDOZE_STATIC -- static LibJIT
    -dLIBENET_WINDOZE_STATIC -- static ENet
    don't forget to specify lib*.a location with -Fi<...>

  i used mingw-gcc 7.1.0 to build static libs; some other .a libs were taken directly from mingw.
  building is easy: just fire msys, install all dependencies, and do:
    ./configure --enable-static --disable-shared && make
  this should produce working .a library suitable for static linking
README
src/lib/enet/enet.pp
src/lib/libjit/libjit.pas
src/lib/libjit/libjit_opts.inc [new file with mode: 0644]
src/lib/libjit/libjit_types.pas