mirror of
https://github.com/termux/termux-packages
synced 2024-06-18 23:27:06 +00:00
13 lines
469 B
Diff
13 lines
469 B
Diff
When building with -DBUILD_SHARED_LIBS=ON, libasr will be a shared library but not installed.
|
|
--- a/src/libasr/CMakeLists.txt
|
|
+++ b/src/libasr/CMakeLists.txt
|
|
@@ -72,7 +72,7 @@
|
|
COMPILE_FLAGS -Wno-deprecated-declarations)
|
|
endif()
|
|
endif()
|
|
-add_library(asr ${SRC})
|
|
+add_library(asr STATIC ${SRC})
|
|
target_include_directories(asr BEFORE PUBLIC ${libasr_SOURCE_DIR}/..)
|
|
target_include_directories(asr BEFORE PUBLIC ${libasr_BINARY_DIR}/..)
|
|
if (WITH_BFD)
|