add rpath and go.mod
This commit is contained in:
parent
94a82ed94d
commit
8732cff287
|
@ -8,8 +8,8 @@ import (
|
||||||
|
|
||||||
/*
|
/*
|
||||||
#cgo CFLAGS: -O3 -Wall -Werror -I../../../include
|
#cgo CFLAGS: -O3 -Wall -Werror -I../../../include
|
||||||
#cgo LDFLAGS: -L../../../ -lunicorn
|
#cgo LDFLAGS: -L../../../ -lunicorn -Wl,-rpath,${SRCDIR}/../../../
|
||||||
#cgo linux LDFLAGS: -L../../../ -lunicorn -lrt
|
#cgo linux LDFLAGS: -L../../../ -lunicorn -lrt -Wl,-rpath,${SRCDIR}/../../../
|
||||||
#include <unicorn/unicorn.h>
|
#include <unicorn/unicorn.h>
|
||||||
#include "uc.h"
|
#include "uc.h"
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue