Comments (7)
Slightly different results for pkgconf 2.1.0, but confirming the problem. (freetype too late.)
-L/opt/devkitpro/portlibs/ppc/lib -lpng16 -lm -lz -lm -L/opt/devkitpro/portlibs/ppc/lib -lpng16 -lm -lz -lharfbuzz -lm -lfreetype -lbz2
With 2.1.1, I see -freetype
twice:
-L/opt/devkitpro/portlibs/ppc/lib -lfreetype -lbz2 -lpng16 -lm -lz -lharfbuzz -lm -L/opt/devkitpro/portlibs/ppc/lib -lfreetype -lbz2
from pkgconf.
... so this might be resolved in 2.1.1.
from pkgconf.
It would be nice to have additional test cases. Cyclical dependencies were not really ever clearly considered as part of the original pkg-config design. In my opinion, allowing them was a mistake.
from pkgconf.
With 2.1.1, I see
-freetype
twice:-L/opt/devkitpro/portlibs/ppc/lib -lfreetype -lbz2 -lpng16 -lm -lz -lharfbuzz -lm -L/opt/devkitpro/portlibs/ppc/lib -lfreetype -lbz2
This is probably correct given the circular dependency between harfbuzz & freetype
from pkgconf.
Can we test and see if this generates expected output on 2.2.0? @dg0yt did a lot of work on the solver.
from pkgconf.
On linux/macOS
PKG_CONFIG_PATH=pkgconfig pkg-config --libs --static freetype2
gives output of-L/opt/devkitpro/portlibs/ppc/lib -lfreetype -lbz2 -lpng16 -lz -lm -lz -lharfbuzz -lm
On windows with pkgconf 2.1.0 the output is
-L/opt/devkitpro/portlibs/ppc/lib -lpng16 -lm -lz -lharfbuzz -lm -L/opt/devkitpro/portlibs/ppc/lib -L/opt/devkitpro/portlibs/ppc/lib -lz -lfreetype -lbz2
With pkgconf 2.2.0:
$ PKG_CONFIG_PATH=/tmp/pkgconfig ./installed/x64-linux/tools/pkgconf/pkgconf --libs --static freetype2
-L/opt/devkitpro/portlibs/ppc/lib -lfreetype -lbz2 -lpng16 -lm -lz -lharfbuzz -lm
LGTM. (One -lz
merged.)
from pkgconf.
Closing then!
from pkgconf.
Related Issues (20)
- Library order is still not correct HOT 33
- [Request] Additional default search paths? HOT 1
- Issue with PKG_CONFIG_PATH resolving past 2.0.0 HOT 5
- pkgconf.exe harfbuzz --cflags returns invalid include dir HOT 2
- Search personality files in XDG_DATA_DIRS HOT 2
- Question: Is `pkgconf --modversion 'zlib >= 1'` valid? HOT 1
- 2.1.0: Failure to run "cargo install" when building libslirp v4.3.0 (It works fine with 2.0.2) HOT 3
- Version macros not updated for 2.1.0
- [Documentation] Clarifying what pkgconfig is and what is pkg-config HOT 2
- incorrect library order with pkgconf 2.1.1 HOT 3
- RFE: is it possible to start making github releases?🤔 HOT 3
- ABI change between 1.9.4 and 2.1.0 without changing SONAME HOT 8
- Widespread issues with empty PKG_CONFIG
- Non-library dependency HOT 2
- [BUG] pkgconf adds extraneous trailing white space HOT 10
- [Feature request] Add -D option to test for for optional dependencies HOT 3
- Misuse of isspace in cli/main.c apply_modversion
- Error when using Requires.private with version constraint HOT 2
- Incorrect dependencies reordering HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pkgconf.