mirror of
https://github.com/cryptonote-social/csminer.git
synced 2024-09-11 05:35:23 +03:00
fix build for rxlib in its own repository
This commit is contained in:
parent
957779d190
commit
6a229bfa14
6
rx/rx.go
6
rx/rx.go
@ -4,11 +4,11 @@
|
||||
// Package rx provides Go access to various randomx library methods.
|
||||
package rx
|
||||
|
||||
// #cgo CFLAGS: -std=c11 -D_GNU_SOURCE -m64 -O3
|
||||
// #cgo LDFLAGS: -L${SRCDIR}/cpp/ -Wl,-rpath,$ORIGIN ${SRCDIR}/cpp/rxlib.cpp.o -lrandomx -lstdc++ -lm
|
||||
// #cgo CFLAGS: -std=c11 -D_GNU_SOURCE -m64 -O3 -I${SRCDIR}/../../rxlib/
|
||||
// #cgo LDFLAGS: -L${SRCDIR}/../../rxlib/ -Wl,-rpath,$ORIGIN ${SRCDIR}/../../rxlib/rxlib.cpp.o -lrandomx -lstdc++ -lm
|
||||
/*
|
||||
#include <stdlib.h>
|
||||
#include "cpp/rxlib.h"
|
||||
#include "rxlib.h"
|
||||
*/
|
||||
import "C"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user