Skip to content

Commit e7a16e8

Browse files
committed
fix debug link order
1 parent d498cd2 commit e7a16e8

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

packages/w/wt/xmake.lua

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,6 @@ package("wt")
9292
if package:config("ssl") then
9393
package:add("deps", "openssl")
9494
end
95-
9695
if package:config("haru") then
9796
package:add("deps", "libharu")
9897
end
@@ -124,14 +123,14 @@ package("wt")
124123
package:add("deps", "libunwind")
125124
end
126125
if package:config("http") then
127-
package:add("linkorders", "wthttp", "wt")
126+
package:add("linkorders", (package:config("debug") and "wthttpd" or "wtd"))
128127
end
129128
if package:config("fastcgi") then
130129
package:add("deps", "fcgi")
131-
package:add("linkorders", "wtfcgi", "wt")
130+
package:add("linkorders", (package:config("debug") and "wtfcgid" or "wtd"))
132131
end
133132
if package:config("dbo") then
134-
package:add("linkorders", "wtdbo", "wt")
133+
package:add("linkorders", (package:config("debug") and "wtdbod" or "wtd"))
135134
end
136135
end)
137136

0 commit comments

Comments
 (0)