Can I package syncthing into syncthing.a?

$ go build -buildmode=c-archive -o libmystrdup_arm64.a

github.com/syncthing/syncthing/vendor/github.com/syncthing/notify

…/…/vendor/github.com/syncthing/notify/watcher_fsevents_cgo.go:10:10: fatal error: ‘CoreServices/CoreServices.h’ file not found #include <CoreServices/CoreServices.h> ^ 1 error generated.

It can success with Previous version(2016). What should I do now?

If you are on osx you probably need to specify additional includes to include system libraries.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.