Skip to content

Commit 123d890

Browse files
committed
fix: remove -lm -ldl from CGO LDFLAGS to fix Windows release
1 parent 8c70642 commit 123d890

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

pkg/core/distance/distance_rust.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ package distance
1111

1212
/*
1313
#cgo CFLAGS: -I${SRCDIR}/../../../native/compute/include
14-
#cgo LDFLAGS: -lkektordb_compute -lm -ldl -lstdc++
14+
#cgo LDFLAGS: -lkektordb_compute -lstdc++
1515
#include "kektordb_compute.h"
1616
*/
1717
import "C"

pkg/embeddings/local.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ package embeddings
1111

1212
/*
1313
#cgo CFLAGS: -I${SRCDIR}/../../native/compute/include
14-
#cgo LDFLAGS: -lkektordb_compute -lm -ldl -lstdc++
14+
#cgo LDFLAGS: -lkektordb_compute -lstdc++
1515
#include "kektordb_compute.h"
1616
#include <stdlib.h>
1717
*/

0 commit comments

Comments
 (0)