Fix CFLAGS for OpenAL and cURL.
-- A: Because it fouls the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail?
diff -r 27359e57fd46 Makefile --- a/Makefile Thu Jul 25 10:23:54 2013 +0200 +++ b/Makefile Mon Sep 09 11:02:53 2013 +0200 @@ -665,14 +665,16 @@ # optional features/libraries ifeq ($(USE_OPENAL),1) - ifeq ($(USE_OPENAL_DLOPEN),1) - CLIENT_LIBS += $(THREAD_LIBS) -lopenal + CLIENT_LIBS += $(THREAD_LIBS) $(OPENAL_LIBS) + ifneq ($(USE_LOCAL_HEADERS),1) + CLIENT_CFLAGS += $(OPENAL_CFLAGS) endif endif ifeq ($(USE_CURL),1) - ifeq ($(USE_CURL_DLOPEN),1) - CLIENT_LIBS += -lcurl + CLIENT_LIBS += $(CURL_LIBS) + ifneq ($(USE_LOCAL_HEADERS),1) + CLIENT_CFLAGS += $(CURL_CFLAGS) endif endif
_______________________________________________ ioquake3 mailing list ioquake3@lists.ioquake.org http://lists.ioquake.org/listinfo.cgi/ioquake3-ioquake.org By sending this message I agree to love ioquake3 and libsdl.