blob: 8ca6b7c3337c7a596605f2725473480fb2e2221a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
--- openh323u.mak.in.orig 2004-03-05 21:21:37.804902816 +0100
+++ openh323u.mak.in 2004-03-05 21:25:43.476555048 +0100
@@ -139,7 +139,6 @@
PWLIBDIR = @PWLIBDIR@
OPENH323DIR = @OPENH323DIR@
-STDCCFLAGS += @STDCCFLAGS@
LDFLAGS += @LDFLAGS@
ENDLDLIBS := @ENDLDLIBS@ $(ENDLDLIBS)
@@ -160,6 +159,13 @@
#OH323_SUPPRESS_H235 = 1
+#
+# stkn@gentoo.org
+# oops i did it again :)
+# moved STDCCFLAGS a little bit around
+# this fixes include order problems
+# (use build dir includes before system includes...)
+#
OH323_SRCDIR = $(OPENH323DIR)/src
ifdef PREFIX
OH323_INCDIR = $(PREFIX)/include/openh323
@@ -168,6 +174,8 @@
endif
OH323_LIBDIR = $(OPENH323DIR)/lib
+STDCCFLAGS += -I$(OH323_INCDIR) @STDCCFLAGS@
+
ifdef NOTRACE
STDCCFLAGS += -DPASN_NOPRINTON -DPASN_LEANANDMEAN
OH323_SUFFIX = n
@@ -191,8 +199,6 @@
LDFLAGS += -L$(OH323_LIBDIR)
LDLIBS := -l$(OH323_BASE) $(LDLIBS)
-STDCCFLAGS += -I$(OH323_INCDIR)
-
#ifndef NO_SPEEX
ifeq ($(H323_SYSTEM_SPEEX),1)
ENDLDLIBS := -lspeex $(ENDLDLIBS)
|