Skip to content

Commit d6cade7

Browse files
committed
try using set path instead of copying dll
1 parent 1c394f0 commit d6cade7

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Makefile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,7 @@ build:
3838

3939
run:
4040
ifeq ($(OS),Windows_NT)
41-
pwsh -Command "Copy-Item libs\libcodex.dll ."
42-
pwsh -Command ".\$(BIN_NAME)"
41+
pwsh -Command "$$env:PATH = '$(CURDIR)\libs;' + $$env:PATH ; .\$(BIN_NAME)"
4342
else
4443
./$(BIN_NAME)
4544
endif

0 commit comments

Comments
 (0)