Added @DGA_LIBS@ to OpenGL target builds

This commit is contained in:
Jeff Teunissen 2000-01-09 07:15:41 +00:00
parent 0097989a6d
commit 5f62210608
2 changed files with 3 additions and 2 deletions

View file

@ -390,7 +390,7 @@ ALL_GL_OBJS = $(patsubst %,$(BUILD_DIR)/gl/%,$(addsuffix .@OBJEXT@,\
$(basename $(ALL_GL_SRC) .c .s)))
GL_CFLAGS = -DGLQUAKE @OGL_CFLAGS@
GL_LDFLAGS = $(X11_LDFLAGS) @OGL_LIBS@
GL_LDFLAGS = $(X11_LDFLAGS) @OGL_LIBS@ @DGA_LIBS@
$(BUILD_DIR)/gl/vid_linuxglx.o: $(COMMON_DIR)/vid_linuxglx.c
$(CC) $(CFLAGS) $(GL_CFLAGS) -o $@ -c $<

View file

@ -28,6 +28,7 @@ ifneq ($(SRC_DIR),.)
SRC_DIR_INC = -I$(SRC_DIR)
endif
HAS_DGA = @HAS_DGA@
HAS_VGA = @HAS_VGA@
HAS_MGL = @HAS_MGL@
HAS_GGI = @HAS_GGI@
@ -428,7 +429,7 @@ ALL_GL_OBJS = $(patsubst %,$(BUILD_DIR)/gl/%,$(addsuffix .@OBJEXT@,\
$(basename $(ALL_GL_SRC) .c .s)))
GL_CFLAGS = -DGLQUAKE @OGL_CFLAGS@
GL_LDFLAGS = $(X11_LDFLAGS) @OGL_LIBS@
GL_LDFLAGS = $(X11_LDFLAGS) @OGL_LIBS@ @DGA_LIBS@
$(BUILD_DIR)/gl/vid_linuxglx.o: $(COMMON_DIR)/vid_linuxglx.c
$(CC) $(CFLAGS) $(GL_CFLAGS) -o $@ -c $<