Hi Ian, > //#cgo CFLAGS: -I./syslog-ng-3.6.2/ > //#cgo LDFLAGS: -L$(SRCDIR)/syslog-node.so. <<<<<<<<<<<<<<<<<
Is this what you are saying? Btw..do I need to keep -L flag? Thanks, Nitish On Fri, 7 Jun 2019, 19:07 Ian Lance Taylor, <i...@golang.org> wrote: > On Fri, Jun 7, 2019 at 4:03 AM Nitish Saboo <nitish.sabo...@gmail.com> > wrote: > > > > //#cgo CFLAGS: -I./syslog-ng-3.6.2/ > > //#cgo LDFLAGS: syslog-node.so. <<<<<<<<<<<<<<<<< > > Try using ${SRCDIR}/syslog-node.so, since you are creating the shared > library in the source directory. > > Ian > -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/CALjMrq5%2BWqzYt2ddzd8TqDWcZOFkZkad92Yo5zziafCqz0p66g%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.