build-against-shared-lpsolve
authorDebian LibreOffice Maintainers <debian-openoffice@lists.debian.org>
Sun, 22 Feb 2026 09:41:41 +0000 (10:41 +0100)
committerRene Engelhard <rene@debian.org>
Sun, 22 Feb 2026 09:41:41 +0000 (10:41 +0100)
Gbp-Pq: Name build-against-shared-lpsolve.diff

RepositoryExternal.mk
configure.ac

index fe68e006919b2f955bb2a3ec929fc94b4e74f97b..17543065dcbbc60e5debbecbf00edd2b0429f58c 100644 (file)
@@ -2511,6 +2511,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 d3a47a85bc5c6ba476a08d8541553346e18ab9e0..3c3df56ecea3ddee4575b02fba52205170999f08 100644 (file)
Binary files a/configure.ac and b/configure.ac differ