emscripten-forge / recipes

Recipes to build the packages for the emscripten-forge distribution
BSD 3-Clause "New" or "Revised" License
52 stars 40 forks source link

Add Proj #1160

Closed KGB99 closed 1 hour ago

KGB99 commented 2 days ago

Needed to build #1161 and #1111

DerThorsten commented 1 day ago

@KGB99 I see you explicitly enable the build of the shared library, yet we only build a static one.

https://github.com/emscripten-forge/recipes/actions/runs/9747241725/job/26899471477#step:9:204

 CMake Warning (dev) at src/lib_proj.cmake:377 (add_library):
 │ │   ADD_LIBRARY called with SHARED option but the target platform does not
 │ │   support dynamic linking.  Building a STATIC library instead.  This may lead
 │ │   to problems.

You could enable the shared libraries via some flags ( See https://emscripten-forge.org/development/adding_packages/#cmake for details)

But if you do not need a shared library, a static one would be prefered