Skip to content

Commit

Permalink
unit-tests: fix gcc library link order error
Browse files Browse the repository at this point in the history
  • Loading branch information
andrej committed Aug 3, 2022
1 parent 572994d commit 5b9c696
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/Tests.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ add_executable(
target_link_libraries(
system_utest

${PLUGIN_LIRBARY_NAME}
${CMOCKA_LIBRARIES}
${SYSREPO_LIBRARIES}
${LIBYANG_LIBRARIES}
${SYSTEMD_LIBRARIES}
${PLUGIN_LIRBARY_NAME}

"-Wl,--wrap=gethostname"
"-Wl,--wrap=sethostname"
Expand Down

0 comments on commit 5b9c696

Please sign in to comment.