Skip to content

Commit

Permalink
trim absolute path in bamboo-core.a (#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
eagleoflqj authored Dec 2, 2024
1 parent a4de7f4 commit c14cc70
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bamboo/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ add_custom_command(OUTPUT bamboo-core.a bamboo-core.h
DEPENDS ${BAMBOO_GO_SRCS} ${BAMBOO_CORE_GO_SRCS} go.mod
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
COMMAND env go build -buildmode=c-archive
-trimpath
-o "${CMAKE_CURRENT_BINARY_DIR}/bamboo-core.a"
${BAMBOO_GO_SRCS})
add_custom_target(bamboo-core DEPENDS bamboo-core.a)
Expand Down

0 comments on commit c14cc70

Please sign in to comment.