mirror of
https://github.com/kairos-io/openamt.git
synced 2025-09-24 19:39:33 +00:00
simplify linking of rpc library
This commit is contained in:
@@ -3,8 +3,7 @@
|
||||
package amtrpc
|
||||
|
||||
/*
|
||||
#cgo CFLAGS: -I./src
|
||||
#cgo LDFLAGS: -L./lib -lrpc -Wl,-rpath=./lib
|
||||
#cgo LDFLAGS: -L/usr/local/lib -lrpc -Wl,-rpath=/usr/local/lib
|
||||
#include <stdlib.h>
|
||||
#include "librpc.h"
|
||||
*/
|
||||
|
Reference in New Issue
Block a user