mirror of
				https://github.com/raysan5/raylib.git
				synced 2025-11-04 01:34:19 +00:00 
			
		
		
		
	ADDED: -latomic library on Linux (only required for ARM32)
				
					
				
			This linkage is only required for arm 32bit but I don't know how to detect that specific architecture in the Makefile...
This commit is contained in:
		@@ -325,6 +325,9 @@ ifeq ($(PLATFORM),PLATFORM_DESKTOP)
 | 
				
			|||||||
        ifeq ($(RAYLIB_LIBTYPE),SHARED)
 | 
					        ifeq ($(RAYLIB_LIBTYPE),SHARED)
 | 
				
			||||||
            LDLIBS += -lc
 | 
					            LDLIBS += -lc
 | 
				
			||||||
        endif
 | 
					        endif
 | 
				
			||||||
 | 
					        
 | 
				
			||||||
 | 
					        # TODO: On ARM 32bit arch, miniaudio requires atomics library
 | 
				
			||||||
 | 
					        LDLIBS += -latomic
 | 
				
			||||||
    endif
 | 
					    endif
 | 
				
			||||||
    ifeq ($(PLATFORM_OS),OSX)
 | 
					    ifeq ($(PLATFORM_OS),OSX)
 | 
				
			||||||
        # Libraries for OSX 10.9 desktop compiling
 | 
					        # Libraries for OSX 10.9 desktop compiling
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -504,6 +504,8 @@ ifeq ($(PLATFORM),PLATFORM_DESKTOP)
 | 
				
			|||||||
        ifeq ($(USE_WAYLAND_DISPLAY),FALSE)
 | 
					        ifeq ($(USE_WAYLAND_DISPLAY),FALSE)
 | 
				
			||||||
            LDLIBS += -lX11
 | 
					            LDLIBS += -lX11
 | 
				
			||||||
        endif
 | 
					        endif
 | 
				
			||||||
 | 
					        # TODO: On ARM 32bit arch, miniaudio requires atomics library
 | 
				
			||||||
 | 
					        #LDLIBS += -latomic
 | 
				
			||||||
    endif
 | 
					    endif
 | 
				
			||||||
    ifeq ($(PLATFORM_OS),OSX)
 | 
					    ifeq ($(PLATFORM_OS),OSX)
 | 
				
			||||||
        LDLIBS = -framework OpenGL -framework Cocoa -framework IOKit -framework CoreAudio -framework CoreVideo
 | 
					        LDLIBS = -framework OpenGL -framework Cocoa -framework IOKit -framework CoreAudio -framework CoreVideo
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user