build-against-shared-lpsolve
authorDebian LibreOffice Maintainers <debian-openoffice@lists.debian.org>
Thu, 23 Sep 2021 15:55:20 +0000 (16:55 +0100)
committerRene Engelhard <rene@debian.org>
Thu, 23 Sep 2021 15:55:20 +0000 (16:55 +0100)
Gbp-Pq: Name build-against-shared-lpsolve.diff

RepositoryExternal.mk
configure.ac

index 442ce9dd4d7c651c5ad5d035967920909967259b..8e7b1d2d6d51eb3d13d4c0401ccb27e56a998c8f 100644 (file)
@@ -2497,6 +2497,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 39816af34776dea0455d9f450d2d2ed3eb386da2..fa1cf3e5dca9bfd56ac0d4b3ca5c334a34e50781 100644 (file)
Binary files a/configure.ac and b/configure.ac differ