its not broken it, it works (almost) as it should. If thats not how fltk
upstream does it, upstream is doing it wrong.
--ldflags [0] should report the flags required to link with the shared library,
and it does this:
> fltk-config --ldflags
-L/usr/lib/x86_64-linux-gnu -Wl,-Bsymbolic-functions -Wl,-z,relro -lfltk
any more libraries are pointless and just needlessly clutter the dt-
needed section if not linked with --as-needed.
to get the x11 libaries use the tool x11 provides not fltk's (e.g. pkg-
config --libs x11)
to statically link against fltk use --ldstaticflags which also gives you
x11, but that should not be the primary mean of your program to get the
x11 flags...
[0] actually it should be --libs, but it has a different meaning with
this tool
** Changed in: fltk1.3 (Ubuntu)
Status: New => Invalid
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1007429
Title:
FLTK fltk-config tool is broken
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/fltk1.3/+bug/1007429/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs