diff --git a/code/unix/Makefile b/code/unix/Makefile index 0671b0f8..461c47bf 100644 --- a/code/unix/Makefile +++ b/code/unix/Makefile @@ -175,16 +175,16 @@ ifeq ($(PLATFORM),linux) THREAD_LDFLAGS=-lpthread LDFLAGS=-ldl -lm - ifneq ($(USE_OPENAL_DLOPEN),1) - CLIENT_LDFLAGS += -lopenal - endif - ifeq ($(USE_SDL),1) CLIENT_LDFLAGS=$(shell sdl-config --libs) else CLIENT_LDFLAGS=-L/usr/X11R6/$(LIB) -lX11 -lXext -lXxf86dga -lXxf86vm endif + ifneq ($(USE_OPENAL_DLOPEN),1) + CLIENT_LDFLAGS += -lopenal + endif + ifeq ($(ARCH),i386) # linux32 make ... BASE_CFLAGS += -m32