You are not logged in.

#1 2016-12-05 13:48:46

cbrnr
Member
Registered: 2016-11-15
Posts: 11

[SOLVED] Static library is not copied in my PKGBUILD

I created an AUR package for libbiosig: https://aur.archlinux.org/packages/libbiosig/

Strangely, the resulting libbiosig.a doesn't get copied to /usr/lib, only the .so files are copied to this location. However, if I comment out the lines corresponding to copying the .so files (lines 38-39 in my PKGBUILD), the static library file libbiosig.a does get copied to /usr/lib.

Can anyone explain this behavior? How can I copy both shared and static versions of the library (libbiosig.so, libbiosig.so.1.8.4, and libbiosig.a) to /usr/lib?

Last edited by cbrnr (2016-12-05 13:58:04)

Offline

#2 2016-12-05 13:55:21

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,845
Website

Re: [SOLVED] Static library is not copied in my PKGBUILD

See 'man PKGBUILD | less -p staticlibs'


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#3 2016-12-05 13:57:47

cbrnr
Member
Registered: 2016-11-15
Posts: 11

Re: [SOLVED] Static library is not copied in my PKGBUILD

Thanks! That's it!

Offline

Board footer

Powered by FluxBB