diff options
| author | ruki <[email protected]> | 2024-08-05 22:49:05 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2024-08-05 22:49:05 +0800 |
| commit | 0c1486f23f87c6fca5b77938c8f524a0306430e6 (patch) | |
| tree | 1cb488cdfdca89d6c7e03997127dc7d6e17524eb | |
| parent | bb3b924c3b111904909592f51f9660d5c5b9c005 (diff) | |
skip rpath for windows
| -rw-r--r-- | xmake/modules/core/tools/gcc.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/xmake/modules/core/tools/gcc.lua b/xmake/modules/core/tools/gcc.lua index 9500cbd38..569f13756 100644 --- a/xmake/modules/core/tools/gcc.lua +++ b/xmake/modules/core/tools/gcc.lua @@ -386,6 +386,9 @@ end -- make the rpathdir flag function nf_rpathdir(self, dir, opt) + if self:is_plat("windows", "mingw") then + return + end opt = opt or {} local extra = opt.extra if extra and extra.installonly then |
