diff --git a/pandatool/src/deploy-stub/CMakeLists.txt b/pandatool/src/deploy-stub/CMakeLists.txt index 1c7a37017f..066d292551 100644 --- a/pandatool/src/deploy-stub/CMakeLists.txt +++ b/pandatool/src/deploy-stub/CMakeLists.txt @@ -18,6 +18,7 @@ elseif(IS_LINUX OR IS_FREEBSD) INSTALL_RPATH "$ORIGIN" BUILD_WITH_INSTALL_RPATH ON) target_link_options(deploy-stub PRIVATE -Wl,--disable-new-dtags -Wl,-z,origin -rdynamic) + target_link_libraries(deploy-stub m) endif() target_link_libraries(deploy-stub Python::Python)