Skip to contentSkip to conversation

slang: do install-pkgconfig when building static library

PATCH New Max Filippov 2 participants 3 messages Mar 12, 2016 – Mar 13, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 slang: do install-pkgconfig when building static library

mc's configure can't find S-Lang because static S-Lang build doesn't install pkgconfig file into staging. Adding install-pkgconfig to SLANG_INSTALL_STAGING_OPTS fixes that.

Fixes:
http://autobuild.buildroot.net/results/085194f18bc7db1e801d98e6620e3a75fd988cc5/

---
 package/slang/slang.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
package/slang/slang.mk +1 -1
index 9078bf2..0991201 100644
@@ -55,7 +55,7 @@ endif
 
 ifeq ($(BR2_STATIC_LIBS),y)
 SLANG_MAKE_OPTS = static
-SLANG_INSTALL_STAGING_OPTS = DESTDIR=$(STAGING_DIR) install-static
+SLANG_INSTALL_STAGING_OPTS = DESTDIR=$(STAGING_DIR) install-static install-pkgconfig
 SLANG_INSTALL_TARGET_OPTS = DESTDIR=$(TARGET_DIR) install-static
 endif
 
Signature · 1 line
2.1.4
#1 lore raw

PATCH 1/1 slang: do install-pkgconfig when building static library

MAx, All,

On 2016-03-12 11:54 +0300, Max Filippov spake thusly:

Quoted 6 lines

mc's configure can't find S-Lang because static S-Lang build doesn't install pkgconfig file into staging. Adding install-pkgconfig to SLANG_INSTALL_STAGING_OPTS fixes that.

Fixes:
http://autobuild.buildroot.net/results/085194f18bc7db1e801d98e6620e3a75fd988cc5/

Could you instead fix the 0002-Enable-a-statically-linked-version-of-slsh patch to have install-static also depend on install-pkgconfig, please?

In the mean time, I marked your patch as Chanmges Requested on our Patchwork.

Thanks! :-)

Regards,
Yann E. MORIN.

Quoted 25 lines
---
 package/slang/slang.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
package/slang/slang.mk +1 -1
index 9078bf2..0991201 100644
@@ -55,7 +55,7 @@ endif
 
 ifeq ($(BR2_STATIC_LIBS),y)
 SLANG_MAKE_OPTS = static
-SLANG_INSTALL_STAGING_OPTS = DESTDIR=$(STAGING_DIR) install-static
+SLANG_INSTALL_STAGING_OPTS = DESTDIR=$(STAGING_DIR) install-static install-pkgconfig
 SLANG_INSTALL_TARGET_OPTS = DESTDIR=$(TARGET_DIR) install-static
 endif
 
Signature · 6 lines
2.1.4

_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
#2 lore raw

PATCH 1/1 slang: do install-pkgconfig when building static library

Quoted 7 lines · Yann E. MORIN

MAx, All,

On 2016-03-12 11:54 +0300, Max Filippov spake thusly:

Quoted 4 lines

mc's configure can't find S-Lang because static S-Lang build doesn't install pkgconfig file into staging. Adding install-pkgconfig to SLANG_INSTALL_STAGING_OPTS fixes that.

Quoted 5 lines
Quoted 2 lines

Fixes:
http://autobuild.buildroot.net/results/085194f18bc7db1e801d98e6620e3a75fd988cc5/

Could you instead fix the 0002-Enable-a-statically-linked-version-of-slsh patch to have install-static also depend on install-pkgconfig, please?

Done.

Signature · 2 lines
Thanks.
-- Max