mirror of
https://github.com/ioquake/ioq3.git
synced 2024-11-10 07:11:46 +00:00
Add patch by Zack Middleton to fix building for USE_RENDERER_DLOPEN=0
This commit is contained in:
parent
6713bbbab3
commit
83f228a42f
1 changed files with 3 additions and 3 deletions
6
Makefile
6
Makefile
|
@ -929,7 +929,7 @@ ifeq ($(USE_INTERNAL_JPEG),1)
|
||||||
BASE_CFLAGS += -DUSE_INTERNAL_JPEG
|
BASE_CFLAGS += -DUSE_INTERNAL_JPEG
|
||||||
BASE_CFLAGS += -I$(JPDIR)
|
BASE_CFLAGS += -I$(JPDIR)
|
||||||
else
|
else
|
||||||
CLIENT_LIBS += -ljpeg
|
RENDERER_LIBS += -ljpeg
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifdef DEFAULT_BASEDIR
|
ifdef DEFAULT_BASEDIR
|
||||||
|
@ -1714,13 +1714,13 @@ $(B)/ioquake3$(FULLBINEXT): $(Q3OBJ) $(Q3ROBJ) $(Q3POBJ) $(LIBSDLMAIN)
|
||||||
$(echo_cmd) "LD $@"
|
$(echo_cmd) "LD $@"
|
||||||
$(Q)$(CC) $(CLIENT_CFLAGS) $(CFLAGS) $(CLIENT_LDFLAGS) $(LDFLAGS) \
|
$(Q)$(CC) $(CLIENT_CFLAGS) $(CFLAGS) $(CLIENT_LDFLAGS) $(LDFLAGS) \
|
||||||
-o $@ $(Q3OBJ) $(Q3ROBJ) $(Q3POBJ) \
|
-o $@ $(Q3OBJ) $(Q3ROBJ) $(Q3POBJ) \
|
||||||
$(LIBSDLMAIN) $(CLIENT_LIBS) $(LIBS)
|
$(LIBSDLMAIN) $(CLIENT_LIBS) $(RENDERER_LIBS) $(LIBS)
|
||||||
|
|
||||||
$(B)/ioquake3-smp$(FULLBINEXT): $(Q3OBJ) $(Q3ROBJ) $(Q3POBJ_SMP) $(LIBSDLMAIN)
|
$(B)/ioquake3-smp$(FULLBINEXT): $(Q3OBJ) $(Q3ROBJ) $(Q3POBJ_SMP) $(LIBSDLMAIN)
|
||||||
$(echo_cmd) "LD $@"
|
$(echo_cmd) "LD $@"
|
||||||
$(Q)$(CC) $(CLIENT_CFLAGS) $(CFLAGS) $(CLIENT_LDFLAGS) $(LDFLAGS) $(THREAD_LDFLAGS) \
|
$(Q)$(CC) $(CLIENT_CFLAGS) $(CFLAGS) $(CLIENT_LDFLAGS) $(LDFLAGS) $(THREAD_LDFLAGS) \
|
||||||
-o $@ $(Q3OBJ) $(Q3ROBJ) $(Q3POBJ_SMP) \
|
-o $@ $(Q3OBJ) $(Q3ROBJ) $(Q3POBJ_SMP) \
|
||||||
$(THREAD_LIBS) $(LIBSDLMAIN) $(CLIENT_LIBS) $(LIBS)
|
$(THREAD_LIBS) $(LIBSDLMAIN) $(CLIENT_LIBS) $(RENDERER_LIBS) $(LIBS)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifneq ($(strip $(LIBSDLMAIN)),)
|
ifneq ($(strip $(LIBSDLMAIN)),)
|
||||||
|
|
Loading…
Reference in a new issue