From 7287f2a82f98820006941009d7c2b28fb036cb3e Mon Sep 17 00:00:00 2001 From: Nguyen Anh Quynh Date: Sun, 25 Dec 2016 18:40:23 +0800 Subject: [PATCH] Go: fix Travis test on Mac --- bindings/go/unicorn/unicorn.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bindings/go/unicorn/unicorn.go b/bindings/go/unicorn/unicorn.go index 5932514a..96281d0e 100644 --- a/bindings/go/unicorn/unicorn.go +++ b/bindings/go/unicorn/unicorn.go @@ -8,7 +8,8 @@ import ( /* #cgo CFLAGS: -O3 -Wall -Werror -I../../../include -#cgo LDFLAGS: -L../../../ -lunicorn -lrt +#cgo LDFLAGS: -L../../../ -lunicorn +#cgo linux LDFLAGS: -L../../../ -lunicorn -lrt #include #include "uc.h" */