On Mon, Aug 24, 2015 at 10:15 AM, Jonathan Wakely <jwak...@redhat.com> wrote:
> On 24/08/15 10:06 -0400, Neal Gompa wrote: > >> On Mon, Aug 24, 2015 at 9:41 AM, Jonathan Wakely <jwak...@redhat.com> >> wrote: >> >>> Oops, to keep the quotes it would be >>> >>> -DSTD_METHOD_DIR='"%{_libdir}/apt/methods"' >>> >> >> Would that override the in-code #define statement? >> > > Yes, because the #define is guarded by: > > #ifndef STD_METHOD_DIR > > so if it's defined on the command line then it won't get defined in > main.c > > But whether you alter the #define in main.c or set it on the > command-line, using %{_libdir} seems better than /usr/lib64. > > > -- > devel mailing list > devel@lists.fedoraproject.org > https://admin.fedoraproject.org/mailman/listinfo/devel > Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct > How do I append to the CFLAGS at the %configure statement? -- 真実はいつも一つ!/ Always, there's only one truth!
-- devel mailing list devel@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/devel Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct