-
Notifications
You must be signed in to change notification settings - Fork 31
Open
Description
Currently flags are set like
#cgo CFLAGS: -I.
#cgo LDFLAGS: -L./.. -lcrypto_c_exports -Wl,-rpath=./.
#include <stdlib.h>
#include "../ecdsa.h"
#include "../pedersen_hash.h"This is giving error error while loading shared libraries: libcrypto_c_exports.so: cannot open shared object file: No such file or directoryexit status 127
Setting the flags like this resolves the issue
#cgo CFLAGS: -I ${SRCDIR}/../
#cgo LDFLAGS: -L${SRCDIR}/../ -lcrypto_c_exports -Wl,-rpath=${SRCDIR}/../
#include <stdlib.h>
#include "ecdsa.h"
#include "pedersen_hash.h"Metadata
Metadata
Assignees
Labels
No labels