crystal-lang / distribution-scripts

40 stars 24 forks source link

Fix lib locations in bundled tarball #222

Closed straight-shoota closed 1 year ago

straight-shoota commented 1 year ago

The additional libs in the bundled tarball (libevent and libpcre) are placed in a subfolder of the lib path that the compiler looks up making them inaccessible. These files should be placed alongside libgc which is also included in the normal tarball.

$ tree crystal-1.7.2-1/lib
crystal-1.7.2-1/lib
└── crystal
    ├── bin -> ../../bin
    ├── lib
    │   ├── libevent.a
    │   ├── libevent_pthreads.a
    │   └── libpcre.a
    └── libgc.a

4 directories, 4 files