Skip to content

Commit 3f68561

Browse files
committed
Fix Linux build
1 parent 57bf192 commit 3f68561

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ fn main() {
99
plt := umplot.init(4)
1010
1111
for i := 0; i < 4; i++ {
12-
plt.series[i].name = "Sine wave " + repr(i + 1)
12+
plt.series[i].name = sprintf("Sine wave %d", i + 1)
1313
1414
for x := 0.0; x <= 100.0; x += 1.0 {
1515
y := (1 + 0.5 * i) * sin(x / 10.0 + i)

build_umplot_linux.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
gcc -O3 -fPIC umplot.c -o umplot.umi -shared -static-libgcc -L$PWD -lm -lraylib -lumka -lpthread
1+
gcc -O3 -fPIC umplot.c -o umplot_linux.umi -shared -static-libgcc -L$PWD -lm -lraylib -lumka_static -lpthread
22

0 commit comments

Comments
 (0)