Skip to content

Commit

Permalink
spec: do not add "/" before %{_libdir}
Browse files Browse the repository at this point in the history
%{_libdir} is always an absolute path, so there is no need to prefix
it with "/". in general, it does not hurt. but this extra slash would
be written into .pc file, so the generated .pc file would look like:

```
libdir=//usr/lib64
```

which is not quite perfect. so let's drop the heading "/".

Signed-off-by: Kefu Chai <[email protected]>
  • Loading branch information
tchaikov committed Sep 28, 2023
1 parent b58921e commit be96a8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion liburing.spec
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ for the Linux-native io_uring.

%build
%set_build_flags
./configure --prefix=%{_prefix} --libdir=/%{_libdir} --libdevdir=/%{_libdir} --mandir=%{_mandir} --includedir=%{_includedir}
./configure --prefix=%{_prefix} --libdir=%{_libdir} --libdevdir=%{_libdir} --mandir=%{_mandir} --includedir=%{_includedir}

%make_build

Expand Down

0 comments on commit be96a8f

Please sign in to comment.