aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/linker.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/linker.cpp b/src/linker.cpp
index c87727974..ec165ef7d 100644
--- a/src/linker.cpp
+++ b/src/linker.cpp
@@ -603,7 +603,7 @@ try_cross_linking:;
// object
// dynamic lib
// static libs, absolute full path relative to the file in which the lib was imported from
- lib_str = gb_string_append_fmt(lib_str, " %.*s ", LIT(lib));
+ lib_str = gb_string_append_fmt(lib_str, " \"%.*s\" ", LIT(lib));
} else {
// dynamic or static system lib, just link regularly searching system library paths
lib_str = gb_string_append_fmt(lib_str, " -l%.*s ", LIT(lib));