Skip to content

Commit

Permalink
Enable static linker to prevent need for mingw dll (#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
KnicKnic authored Oct 14, 2019
1 parent 6565446 commit 551a650
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion pkg/powershell/chelpers.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
/*
#cgo CFLAGS: -I.
#cgo LDFLAGS: ${SRCDIR}/../../native-powershell/native-powershell-bin/psh_host.dll
#cgo LDFLAGS: -static ${SRCDIR}/../../native-powershell/native-powershell-bin/psh_host.dll
#include <stddef.h>
Expand Down
2 changes: 1 addition & 1 deletion pkg/powershell/hostcommand.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package powershell
/*
#cgo CFLAGS: -I.
#cgo LDFLAGS: ${SRCDIR}/../../native-powershell/native-powershell-bin/psh_host.dll
#cgo LDFLAGS: -static ${SRCDIR}/../../native-powershell/native-powershell-bin/psh_host.dll
#include <stddef.h>
Expand Down
2 changes: 1 addition & 1 deletion pkg/powershell/powershell.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
/*
#cgo CFLAGS: -I.
#cgo LDFLAGS: ${SRCDIR}/../../native-powershell/native-powershell-bin/psh_host.dll
#cgo LDFLAGS: -static ${SRCDIR}/../../native-powershell/native-powershell-bin/psh_host.dll
#include <stddef.h>
Expand Down
2 changes: 1 addition & 1 deletion pkg/powershell/powershellobjects.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package powershell
/*
#cgo CFLAGS: -I.
#cgo LDFLAGS: ${SRCDIR}/../../native-powershell/native-powershell-bin/psh_host.dll
#cgo LDFLAGS: -static ${SRCDIR}/../../native-powershell/native-powershell-bin/psh_host.dll
#include <stddef.h>
Expand Down
2 changes: 1 addition & 1 deletion pkg/powershell/runspace.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package powershell
/*
#cgo CFLAGS: -I.
#cgo LDFLAGS: ${SRCDIR}/../../native-powershell/native-powershell-bin/psh_host.dll
#cgo LDFLAGS: -static ${SRCDIR}/../../native-powershell/native-powershell-bin/psh_host.dll
#include <stddef.h>
Expand Down

0 comments on commit 551a650

Please sign in to comment.