Skip to content

Commit 032852f

Browse files
authored
fix: linking of the Go library on Windows (#107)
1 parent 2313600 commit 032852f

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

watcher-go/watcher.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
package watcher
33

44
/*
5-
#cgo LDFLAGS: -lwatcher-c
5+
#cgo unix LDFLAGS: -lwatcher-c
6+
#cgo windows LDFLAGS: -llibwatcher-c
67
#include <stdlib.h>
78
#include <stdint.h>
89
#include <wtr/watcher-c.h>

0 commit comments

Comments
 (0)