Skip to content

Commit

Permalink
Fix Linux build
Browse files Browse the repository at this point in the history
  • Loading branch information
vtereshkov committed Aug 15, 2023
1 parent 57bf192 commit 3f68561
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ fn main() {
plt := umplot.init(4)
for i := 0; i < 4; i++ {
plt.series[i].name = "Sine wave " + repr(i + 1)
plt.series[i].name = sprintf("Sine wave %d", i + 1)
for x := 0.0; x <= 100.0; x += 1.0 {
y := (1 + 0.5 * i) * sin(x / 10.0 + i)
Expand Down
2 changes: 1 addition & 1 deletion build_umplot_linux.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
gcc -O3 -fPIC umplot.c -o umplot.umi -shared -static-libgcc -L$PWD -lm -lraylib -lumka -lpthread
gcc -O3 -fPIC umplot.c -o umplot_linux.umi -shared -static-libgcc -L$PWD -lm -lraylib -lumka_static -lpthread

0 comments on commit 3f68561

Please sign in to comment.