]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Make the LTDL loadable modules paths global
authorAmos Jeffries <amosjeffries@squid-cache.org>
Thu, 26 Aug 2010 01:12:07 +0000 (19:12 -0600)
committerAmos Jeffries <amosjeffries@squid-cache.org>
Thu, 26 Aug 2010 01:12:07 +0000 (19:12 -0600)
Still wrapped for as-needed. May be needed by many places by src/ code

src/Common.am
src/adaptation/Makefile.am

index 00e41356ecb347dda23bb0882c934b6aacd0f099..96a08812a52daadffd2e8946cb3590d06ea7f273 100644 (file)
@@ -24,6 +24,12 @@ INCLUDES = \
 ## Because we use libcompat for comm_err.h header protections ...
 INCLUDES += $(KRB5INCS)
 
+## 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