I'm trying to build MicroTeX as static libraries on Ubuntu like this:
cmake -DCAIRO=ON -DBUILD_STATIC=ON -DCMAKE_POSITION_INDEPENDENT_CODE=ON ..
make
This correctly builds libmicrotex.a but for some reason it fails to build libmicrotex-cairo.a. It seems to try to build libmicrotex-cairo as a shared object instead (which fails)
[ 97%] Built target microtex
[ 98%] Linking CXX shared library libmicrotex-cairo.so
CMake Error: failed to create symbolic link 'libmicrotex-cairo.so.1': operation not supported on socket
CMake Error: cmake_symlink_library: System Error: Operation not supported
CMake Error: failed to create symbolic link 'libmicrotex-cairo.so': operation not supported on socket
CMake Error: cmake_symlink_library: System Error: Operation not supported
Any idea how I can build libmicrotex-cairo as a static library?
I'm trying to build MicroTeX as static libraries on Ubuntu like this:
This correctly builds libmicrotex.a but for some reason it fails to build libmicrotex-cairo.a. It seems to try to build libmicrotex-cairo as a shared object instead (which fails)
Any idea how I can build libmicrotex-cairo as a static library?