Thanks, applied as b1f105188231b3b0938cf68f1247e6a07e24b4d9.

Michael

[sent from post-receive hook]

On Thu, 07 Oct 2021 12:18:38 +0200, Christian Melki 
<[email protected]> wrote:
> Be more specific about where modules (.so files) end up and searched for.
> Let them land in a CROSS_LIB_DIR path.
> 
> Signed-off-by: Christian Melki <[email protected]>
> Message-Id: <[email protected]>
> Signed-off-by: Michael Olbrich <[email protected]>
> 
> diff --git a/rules/syslogng.make b/rules/syslogng.make
> index d5ac92797e5b..41bdec766dd1 100644
> --- a/rules/syslogng.make
> +++ b/rules/syslogng.make
> @@ -41,6 +41,8 @@ SYSLOGNG_ENV        = \
>  SYSLOGNG_AUTOCONF = \
>       $(CROSS_AUTOCONF_USR) \
>       --localstatedir=/var/run \
> +     --with-module-dir=/usr/$(CROSS_LIB_DIR)/syslog-ng \
> +     --with-module-path=/usr/$(CROSS_LIB_DIR)/syslog-ng \
>       --enable-forced-server-mode \
>       --disable-debug \
>       --enable-force-gnu99 \
> @@ -99,7 +101,7 @@ $(STATEDIR)/syslogng.install:
>       @$(call targetinfo)
>       @$(call world/install, SYSLOGNG)
>  #    # test plugins, not needed on the target
> -     @rm -r "$(SYSLOGNG_PKGDIR)/usr/lib/syslog-ng/loggen"
> +     @rm -r "$(SYSLOGNG_PKGDIR)/usr/$(CROSS_LIB_DIR)/syslog-ng/loggen"
>       @$(call touch)
>  
>  
> @@ -122,7 +124,7 @@ $(STATEDIR)/syslogng.targetinstall:
>       @$(call install_lib, syslogng, 0, 0, 0644, 
> libsyslog-ng-$(SYSLOG_LIBVERSION))
>       @$(call install_lib, syslogng, 0, 0, 0644, 
> libevtlog-$(SYSLOG_LIBVERSION))
>       @$(call install_lib, syslogng, 0, 0, 0644, libsecret-storage)
> -     @$(call install_glob, syslogng, 0, 0, -, /usr/lib/syslog-ng, *.so)
> +     @$(call install_glob, syslogng, 0, 0, -, 
> /usr/$(CROSS_LIB_DIR)/syslog-ng, *.so)
>  
>  #    # config
>  ifdef PTXCONF_SYSLOGNG_CONFIG

_______________________________________________
ptxdist mailing list
[email protected]
To unsubscribe, send a mail with subject "unsubscribe" to 
[email protected]

Reply via email to