Skip to content

Commit 219586b

Browse files
author
Enrico Steffinlongo
committed
Fixed missing-symbols from api
1 parent c26ffb1 commit 219586b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/libcprover-cpp/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ list(APPEND
3030
"xml"
3131
"json"
3232
"json-symtab-language"
33-
"cpp"
33+
# "cpp" # This contains a file conflicting with one from ansi-c. Removed as not necessary yet
3434
"jsil"
3535
"statement-list"
3636
"goto-symex"
@@ -51,7 +51,7 @@ endforeach(dep LIBRARY_DEPENDENCIES)
5151
string(REPLACE ";" " " DEPENDENCY_TARGETS "${DEPENDENCY_TARGETS}")
5252

5353
add_custom_command(TARGET cprover-api-cpp POST_BUILD
54-
COMMAND "${CMAKE_CURRENT_SOURCE_DIR}/aggregate_dependencies.sh" "${CMAKE_AR}" "$<TARGET_FILE:cprover-api-cpp>" "$<TARGET_FILE:cprover-api-cpp> ${DEPENDENCY_TARGETS}"
54+
COMMAND "${CMAKE_CURRENT_SOURCE_DIR}/aggregate_dependencies.sh" "${CMAKE_AR}" "$<TARGET_FILE:cprover-api-cpp>" "${DEPENDENCY_TARGETS}"
5555
WORKING_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}")
5656

5757
set(lib_version 153)

src/libcprover-cpp/aggregate_dependencies.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@ for lib in ${LIB_LIST}; do
1212
${AR_COMMAND} -x ${lib}
1313
done
1414

15-
${AR_COMMAND} -qcs ${DESTINATION} *.o
15+
${AR_COMMAND} -rcs ${DESTINATION} *.o

0 commit comments

Comments
 (0)