• 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/libfcgi/0002-link-against-libfcgi-la.patch
Peter KorsgaardPeter Korsgaard committed 298cd8eaa2103 Feb 2015
Raw file
Source viewDiff to previous
 
1
Properly link libfcgi++ against libfcgi
2
​
3
We cannot directly use -lfcgi to link libfcgi++ against libfcgi,
4
because libfcgi is not installed at this time. Instead, we should rely
5
on libtool doing the right thing, by specifying libfcgi.la in
6
libfcgi++ LIBADD variable.
7
​
8
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9
​
10
Index: b/libfcgi/Makefile.am
11
===================================================================
12
--- a/libfcgi/Makefile.am
13
+++ b/libfcgi/Makefile.am
14
@@ -23,5 +23,6 @@
15
                        $(INCLUDEDIR)/fcgio.h  \
16
                        fcgio.cpp
17
 libfcgi___la_CFLAGS  = @PTHREAD_CFLAGS@
18
-libfcgi___la_LDFLAGS = -lfcgi -rpath @libdir@
19
+libfcgi___la_LIBADD  = libfcgi.la
20
+libfcgi___la_LDFLAGS = -rpath @libdir@
  • 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.