simplify linking of rpc library

This commit is contained in:
Jacob Payne
2023-04-12 11:48:32 -07:00
parent 72d038eb4e
commit fdedf683ee
2 changed files with 2 additions and 3 deletions

View File

@@ -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"
*/