Explorar o código

fix pthreads4w

ruki %!s(int64=2) %!d(string=hai) anos
pai
achega
e664465bd0
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      packages/p/pthreads4w/xmake.lua

+ 1 - 1
packages/p/pthreads4w/xmake.lua

@@ -28,7 +28,7 @@ package("pthreads4w")
         os.cp("*.h", package:installdir("include/pthread"))
         if package:config("shared") then
             os.cp("*.dll", package:installdir("bin"))
-            package:add("PATH", "bin")
+            package:addenv("PATH", "bin")
         end
         if package:debug() then
             os.cp("*.pdb", package:installdir("lib"))