Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/putty: fix static build
@ 2023-12-01 20:38 Fabrice Fontaine
  2023-12-01 21:23 ` Peter Korsgaard
  2023-12-03 21:04 ` Peter Korsgaard
  0 siblings, 2 replies; 3+ messages in thread
From: Fabrice Fontaine @ 2023-12-01 20:38 UTC (permalink / raw)
  To: buildroot; +Cc: Alexander Dahl, Fabrice Fontaine

Fix the following static build failure raised since bump to version 0.78
in commit 5673ea3ce4d4dd721bb17fc8d5b1283f5c1080b4:

In file included from /home/buildroot/autobuild/instance-0/output-1/build/putty-0.78/putty.h:8,
                 from /home/buildroot/autobuild/instance-0/output-1/build/putty-0.78/callback.c:8:
/home/buildroot/autobuild/instance-0/output-1/build/putty-0.78/unix/platform.h:11:10: fatal error: dlfcn.h: No such file or directory
   11 | #include <dlfcn.h>                     /* Dynamic library loading */
      |          ^~~~~~~~~

Fixes:
 - http://autobuild.buildroot.org/results/06f0b14bd0414f97b06070198e290fb3253348c5

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
 package/putty/putty.mk | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/package/putty/putty.mk b/package/putty/putty.mk
index d3c8d923f0..529edd51c8 100644
--- a/package/putty/putty.mk
+++ b/package/putty/putty.mk
@@ -17,4 +17,8 @@ else ifeq ($(BR2_PACKAGE_LIBGTK2),y)
 PUTTY_DEPENDENCIES += libgtk2
 endif
 
+ifeq ($(BR2_STATIC_LIBS),y)
+PUTTY_CONF_OPTS += -DCMAKE_C_FLAGS="$(TARGET_CFLAGS) -DNO_LIBDL"
+endif
+
 $(eval $(cmake-package))
-- 
2.42.0

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [Buildroot] [PATCH 1/1] package/putty: fix static build
  2023-12-01 20:38 [Buildroot] [PATCH 1/1] package/putty: fix static build Fabrice Fontaine
@ 2023-12-01 21:23 ` Peter Korsgaard
  2023-12-03 21:04 ` Peter Korsgaard
  1 sibling, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2023-12-01 21:23 UTC (permalink / raw)
  To: Fabrice Fontaine; +Cc: Alexander Dahl, buildroot

>>>>> "Fabrice" == Fabrice Fontaine <fontaine.fabrice@gmail.com> writes:

 > Fix the following static build failure raised since bump to version 0.78
 > in commit 5673ea3ce4d4dd721bb17fc8d5b1283f5c1080b4:

 > In file included from /home/buildroot/autobuild/instance-0/output-1/build/putty-0.78/putty.h:8,
 >                  from /home/buildroot/autobuild/instance-0/output-1/build/putty-0.78/callback.c:8:
 > /home/buildroot/autobuild/instance-0/output-1/build/putty-0.78/unix/platform.h:11:10: fatal error: dlfcn.h: No such file or directory
 >    11 | #include <dlfcn.h>                     /* Dynamic library loading */
 >       |          ^~~~~~~~~

 > Fixes:
 >  - http://autobuild.buildroot.org/results/06f0b14bd0414f97b06070198e290fb3253348c5

 > Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>

Committed, thanks.

-- 
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Buildroot] [PATCH 1/1] package/putty: fix static build
  2023-12-01 20:38 [Buildroot] [PATCH 1/1] package/putty: fix static build Fabrice Fontaine
  2023-12-01 21:23 ` Peter Korsgaard
@ 2023-12-03 21:04 ` Peter Korsgaard
  1 sibling, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2023-12-03 21:04 UTC (permalink / raw)
  To: Fabrice Fontaine; +Cc: Alexander Dahl, buildroot

>>>>> "Fabrice" == Fabrice Fontaine <fontaine.fabrice@gmail.com> writes:

 > Fix the following static build failure raised since bump to version 0.78
 > in commit 5673ea3ce4d4dd721bb17fc8d5b1283f5c1080b4:

 > In file included from /home/buildroot/autobuild/instance-0/output-1/build/putty-0.78/putty.h:8,
 >                  from /home/buildroot/autobuild/instance-0/output-1/build/putty-0.78/callback.c:8:
 > /home/buildroot/autobuild/instance-0/output-1/build/putty-0.78/unix/platform.h:11:10: fatal error: dlfcn.h: No such file or directory
 >    11 | #include <dlfcn.h>                     /* Dynamic library loading */
 >       |          ^~~~~~~~~

 > Fixes:
 >  - http://autobuild.buildroot.org/results/06f0b14bd0414f97b06070198e290fb3253348c5

 > Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>

Committed to 2023.08.x, thanks.

-- 
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-12-03 21:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-01 20:38 [Buildroot] [PATCH 1/1] package/putty: fix static build Fabrice Fontaine
2023-12-01 21:23 ` Peter Korsgaard
2023-12-03 21:04 ` Peter Korsgaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox