summaryrefslogtreecommitdiff
path: root/src/mesa
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/drivers/osmesa/Makefile.win2
-rw-r--r--src/mesa/main/Makefile.win2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/drivers/osmesa/Makefile.win b/src/mesa/drivers/osmesa/Makefile.win
index d6c11b169f..36d520e65d 100644
--- a/src/mesa/drivers/osmesa/Makefile.win
+++ b/src/mesa/drivers/osmesa/Makefile.win
@@ -20,7 +20,7 @@ all : osmesadll
osmesadll: $(OSMESADLL)
CFLAGS = $(cvarsdll) $(CFLAGS) -D_OPENGL32_ -DBUILD_GL32 -I$(TOP)/src
-LFLAGS = $(LFLAGS) $(dlllflags)
+LFLAGS = $(dlllflags) $(lcommon) $(LFLAGS)
OBJS = $(ASM_SRCS:.S=.obj) $(CORE_SRCS:.c=.obj) $(DRIVER_SRCS:.c=.obj)
LIBS = $(guilibsdll) $(TOP)/lib/$(MESALIB)
diff --git a/src/mesa/main/Makefile.win b/src/mesa/main/Makefile.win
index 2d2138fa8a..d3d9d7a3d2 100644
--- a/src/mesa/main/Makefile.win
+++ b/src/mesa/main/Makefile.win
@@ -154,7 +154,7 @@ all : mesadll $(SUBDIRS)
mesadll : $(MESADLL)
CFLAGS = $(cvarsdll) $(CFLAGS) -D_OPENGL32_ -DBUILD_GL32 -DNO_PARALLEL -DNO_STEREO
-LFLAGS = $(dlllflags) $(LFLAGS)
+LFLAGS = $(dlllflags) $(lcommon) $(LFLAGS)
OBJS = $(ASM_SRCS:.S=.obj) $(CORE_SRCS:.c=.obj) $(DRIVER_SRCS:.c=.obj)
LIBS = winmm.lib $(guilibsdll)