Skip to content

Commit

Permalink
examples: fixed broken build due to libm omission
Browse files Browse the repository at this point in the history
  • Loading branch information
jtsiomb committed Feb 10, 2023
1 parent dc951c7 commit 6614453
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Dependencies

License
-------
Copyright (C) 2011-2019 John Tsiombikas <[email protected]>
Copyright (C) 2011-2023 John Tsiombikas <[email protected]>
You may freely use, modify and/or redistribute libdrawtext, under the terms of
the GNU Lesser General Public License (LGPL) version 3 (or at your option, any
later version published by the Free Software Foundation). See COPYING, and
Expand Down
2 changes: 1 addition & 1 deletion examples/nofreetype/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ ifeq ($(sys), Darwin)
else ifeq ($(sys), mingw)
libgl = -lopengl32 -lglu32 -lfreeglut
else
libgl = -lGL -lGLU -lglut
libgl = -lGL -lGLU -lglut -lm
endif


Expand Down
2 changes: 1 addition & 1 deletion examples/simple/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ ifeq ($(sys), Darwin)
else ifeq ($(sys), mingw)
libgl = -lopengl32 -lglu32 -lfreeglut
else
libgl = -lGL -lGLU -lglut
libgl = -lGL -lGLU -lglut -lm
endif

$(bin): $(obj) $(font)
Expand Down

0 comments on commit 6614453

Please sign in to comment.