After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 791751 - meson: LIBDIR in config.h is no longer a full path
meson: LIBDIR in config.h is no longer a full path
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
1.13.x
Other Linux
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2017-12-18 19:20 UTC by Nicolas Dufresne (ndufresne)
Modified: 2017-12-18 19:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Nicolas Dufresne (ndufresne) 2017-12-18 19:20:58 UTC
It's our fault, but we wrongly generate the LIBDIR macro in meson. With meson we get something like:

 #define LIBDIR "lib64"

But with autotools it's more like:

 #define LIBDIR "/usr/lib64"
Comment 1 Nirbheek Chauhan 2017-12-18 19:27:30 UTC
Where are you seeing this? I get:

 #define LIBDIR "/usr/lib64"

with meson. The code also seems correct:

cdata.set_quoted('GST_DATADIR', join_paths(prefix, get_option('datadir')))
cdata.set_quoted('LOCALEDIR', join_paths(prefix, get_option('localedir')))
cdata.set_quoted('LIBDIR', join_paths(prefix, get_option('libdir')))
Comment 2 Tim-Philipp Müller 2017-12-18 19:37:37 UTC
I'm guessing this is related to bug #791717 ?

It's wrong in -bad:

  cdata.set('LIBDIR', '"@0@"'.format(get_option('libdir')))
Comment 3 Nirbheek Chauhan 2017-12-18 19:45:08 UTC
Should be fixed now, cheers.
Comment 4 Nicolas Dufresne (ndufresne) 2017-12-18 19:47:46 UTC
Thanks, indeed, I was coming back to comment it's -bad only in the end ;-P