• Skip to sidebar navigation
  • Skip to content

Bitbucket

  • More
    ProjectsRepositories
  • Help
    • Online help
    • Learn Git
    • Welcome to Bitbucket
    • Keyboard shortcuts
  • Log In
Alexander Dahl
  1. Alexander Dahl

buildroot

Public
Actions
  • Clone
  • Compare

Learn more about cloning repositories

You have read-only access

Navigation
  • Source
  • Commits
  • Branches
  • All Branches Graph
  • Forks
  1. Alexander Dahl
  2. buildroot

Source

buildroot/package/fetchmail/0001-fix-openssl-static-link.patch
Peter KorsgaardPeter Korsgaard committed 298cd8eaa2103 Feb 2015
Raw file
Source viewDiff to previous
xxxxxxxxxx
 
1
Fix checking for statically build OpenSSL with libz dependency
2
​
3
Fixes
4
http://autobuild.buildroot.net/results/48a/48ad6d3659cf1f04581b7e3d115bebf454ff17fd/
5
​
6
configure: Enabling OpenSSL support in /home/br/br/output/host/usr/i486-buildroot-linux-uclibc/sysroot/usr.
7
checking for additional library dependencies of SSL... error
8
configure: error: cannot link with SSL - check config.log
9
​
10
In config.log multiple linking errors to libz can be found:
11
​
12
configure:10099: /home/br/br/output/host/usr/bin/i486-ctng-linux-uclibc-gcc -o
13
  conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64
14
  /home/br/br/output/host/usr/i486-buildroot-linux-uclibc/sysroot/usr/lib/libcrypto.a(c_zlib.o):
15
  In function `zlib_stateful_c_zlib.c:(.text+0x56): undefined reference to `inflate'
16
​
17
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
18
​
19
diff -uNr fetchmail-6.3.26.org/configure.ac fetchmail-6.3.26/configure.ac
20
--- fetchmail-6.3.26.org/configure.ac   2013-04-23 22:51:10.000000000 +0200
21
+++ fetchmail-6.3.26/configure.ac   2014-07-27 09:20:25.000000000 +0200
22
@@ -778,7 +778,7 @@
23
     AC_MSG_ERROR([SSL support enabled, but OpenSSL not found])
24
   fi
25
   LDFLAGS="$LDFLAGS -L$with_ssl/lib"
26
-  LIBS="$LIBS -lssl -lcrypto"
27
+  LIBS="-lssl -lcrypto $LIBS"
28
   dnl check if -ldl is needed
29
   AC_MSG_CHECKING([for additional library dependencies of SSL])
30
   found=0
  • Git repository management for enterprise teams powered by Atlassian Bitbucket
  • Atlassian Bitbucket v6.7.2
  • Documentation
  • Request a feature
  • About
  • Contact Atlassian
Atlassian

Everything looks good. We'll let you know here if there's anything you should know about.