build-against-shared-lpsolve
authorDebian LibreOffice Maintainers <debian-openoffice@lists.debian.org>
Sun, 22 Sep 2024 21:40:32 +0000 (23:40 +0200)
committerRene Engelhard <rene@debian.org>
Sun, 22 Sep 2024 21:40:32 +0000 (23:40 +0200)
Gbp-Pq: Name build-against-shared-lpsolve.diff

RepositoryExternal.mk
configure.ac

index c72b814b8a07461c5e292bf9750e6de032353501..52440fbb36a25701d744c91cf249ef55ba6a3207 100644 (file)
@@ -2425,6 +2425,7 @@ ifneq ($(SYSTEM_LPSOLVE),)
 
 define gb_LinkTarget__use_lpsolve
 $(call gb_LinkTarget_add_libs,$(1),-llpsolve55)
+$(call gb_LinkTarget_add_ldflags,$(1),-L/usr/lib/lp_solve -Wl$(COMMA)-rpath=/usr/lib/lp_solve)
 $(call gb_LinkTarget_add_defs,$(1),\
        -DSYSTEM_LPSOLVE \
 )
index 7afbcd573e1d1f67045ffdb9a15fd8a6c24e5c45..c6cd85c5cc7d8fa2318671a98e9b5559f665ecd9 100644 (file)
Binary files a/configure.ac and b/configure.ac differ