build-against-shared-lpsolve
authorDebian LibreOffice Maintainers <debian-openoffice@lists.debian.org>
Sun, 10 Oct 2021 13:42:24 +0000 (14:42 +0100)
committerRene Engelhard <rene@debian.org>
Sun, 10 Oct 2021 13:42:24 +0000 (14:42 +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 e3afbd27c7032d085ae63a563d0ab1eff99dd1fd..2da6da7a42890e335ad896f260ca494d4d85bd10 100644 (file)
Binary files a/configure.ac and b/configure.ac differ