aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorraysan5 <raysan5@gmail.com>2019-05-10 20:51:48 +0200
committerraysan5 <raysan5@gmail.com>2019-05-10 20:51:48 +0200
commit561c486ceb2d1563fbcd0bec60a1f1d9e94cb7c0 (patch)
tree4c512c925573c3e7c9b52007e0dd6cd430b3e3e5 /src
parent2ee3b2576c15bbaabcb09821976e3a341d1a04cd (diff)
downloadraylib-561c486ceb2d1563fbcd0bec60a1f1d9e94cb7c0.tar.gz
raylib-561c486ceb2d1563fbcd0bec60a1f1d9e94cb7c0.zip
Add WinMM library for linkage
Now it's required on Windows if not using a busy wait loop
Diffstat (limited to 'src')
-rw-r--r--src/physac.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/physac.h b/src/physac.h
index 038361a4..374aa4bc 100644
--- a/src/physac.h
+++ b/src/physac.h
@@ -43,7 +43,7 @@
* NOTE 2: Physac requires static C library linkage to avoid dependency on MinGW DLL (-static -lpthread)
*
* Use the following code to compile:
-* gcc -o $(NAME_PART).exe $(FILE_NAME) -s -static -lraylib -lpthread -lopengl32 -lgdi32 -std=c99
+* gcc -o $(NAME_PART).exe $(FILE_NAME) -s -static -lraylib -lpthread -lopengl32 -lgdi32 -lwinmm -std=c99
*
* VERY THANKS TO:
* Ramon Santamaria (github: @raysan5)