]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Bug 3005: Locate LTDL headers correctly
authorAmos Jeffries <amosjeffries@squid-cache.org>
Mon, 30 Aug 2010 03:58:40 +0000 (21:58 -0600)
committerAmos Jeffries <amosjeffries@squid-cache.org>
Mon, 30 Aug 2010 03:58:40 +0000 (21:58 -0600)
src/Common.am
src/adaptation/Makefile.am

index 3cbfe90832e688174a19222687b4150d805f76cf..4a5415797ffbc840bb42df1d817dc80bf95bc736 100644 (file)
@@ -20,6 +20,12 @@ INCLUDES = \
        -I$(top_builddir)/include \
        $(SQUID_CPPUNIT_INC)
 
+## Loadable Modules requires LTDL include paths.
+## Because we need this to use the libray linking headers...
+if USE_LOADABLE_MODULES
+INCLUDES += $(INCLTDL)
+endif
+
 ## make all compiled sources depend on generated files
 ## XXX: Do we really need this? Does auto-dependency tracking work?
 $(OBJS): $(top_srcdir)/include/version.h $(top_builddir)/include/autoconf.h
index e8d24806993739fbf75c89131026e2ca095eecfe..5ecd433aec03fc96ec6361aaee7ed44f379ecd9b 100644 (file)
@@ -12,11 +12,6 @@ if USE_ECAP
 SUBDIRS += ecap
 endif
 
-if USE_LOADABLE_MODULES
-## LTDL headers require their local include path...
-INCLUDES += $(INCLTDL)
-endif
-
 noinst_LTLIBRARIES = libadaptation.la
 
 ## start with the code shared among all adaptation schemes