Files
MINGW-packages/mingw-w64-jsonnet/003-jsonnet-0.20.0-link-libraries.patch
Konstantin Podsvirov 0f34267fbb jsonnet: New package
2023-11-10 02:04:57 +03:00

12 lines
520 B
Diff

--- jsonnet-0.20.0-orig/cpp/CMakeLists.txt 2023-11-09 23:22:54.154599300 +0300
+++ jsonnet-0.20.0/cpp/CMakeLists.txt 2023-11-10 00:33:05.848102600 +0300
@@ -10,7 +10,7 @@
add_library(libjsonnet++ SHARED ${LIBJSONNETPP_HEADERS} ${LIBJSONNETPP_SOURCE})
add_dependencies(libjsonnet++ jsonnet)
-# target_link_libraries(libjsonnet libjsonnet)
+target_link_libraries(libjsonnet++ libjsonnet)
# CMake prepends CMAKE_SHARED_LIBRARY_PREFIX to shared libraries, so without
# this step the output would be |liblibjsonnet|.