You are not logged in.

#1 2021-05-15 23:05:10

ska67
Member
Registered: 2020-01-01
Posts: 9

2 PKGBUILD with same library

I want to create two PKGBUILDs or maybe a split package for two different software projects that use the same library.
The library should be built with both packages and both packages should be installable together.

What is the right way to do that?

I tried the following but could not install both packages together:

Software A depends on Library C
Software B depends on Library C

package A
- builds software A
- builds library C
provides ('C.so')

package B
- builds software B
- builds library C
provides ('C.so')

Offline

#2 2021-05-15 23:08:00

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: 2 PKGBUILD with same library

Make a separate package C for just the library then have A and B list it as a dependency.


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

Board footer

Powered by FluxBB