From: Daniel Borca Date: Tue, 12 Oct 2004 07:33:03 +0000 (+0000) Subject: support for external libraries X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=701c289ff351386240763dc92ba43cc2f2e73ac5;p=mesa.git support for external libraries --- diff --git a/src/mesa/Makefile.DJ b/src/mesa/Makefile.DJ index cd9b10d8407..4f73b3ce0e2 100644 --- a/src/mesa/Makefile.DJ +++ b/src/mesa/Makefile.DJ @@ -64,6 +64,7 @@ export LD_LIBRARY_PATH := $(LD_LIBRARY_PATH);$(LIBDIR);$(GLIDE)/lib CC = gcc CFLAGS += $(INCLUDE_DIRS) +CFLAGS += -DUSE_EXTERNAL_DXTN_LIB=1 ifeq ($(FX),1) CFLAGS += -D__DOS__ CFLAGS += -I$(GLIDE)/include -DFX diff --git a/src/mesa/Makefile.mgw b/src/mesa/Makefile.mgw index 9754ea279dc..fff3e6b7ed9 100644 --- a/src/mesa/Makefile.mgw +++ b/src/mesa/Makefile.mgw @@ -73,6 +73,7 @@ LDLIBS = -lgdi32 CC = mingw32-gcc CFLAGS += -DBUILD_GL32 -D_OPENGL32_ -D_MSC_VER CFLAGS += $(INCLUDE_DIRS) +CFLAGS += -DUSE_EXTERNAL_DXTN_LIB=1 ifeq ($(FX),1) CFLAGS += -I$(GLIDE)/include -DFX LDLIBS += -L$(GLIDE)/lib -lglide3x