build-against-shared-lpsolve
authorDebian LibreOffice Maintainers <debian-openoffice@lists.debian.org>
Thu, 1 Sep 2022 04:24:20 +0000 (05:24 +0100)
committerRene Engelhard <rene@debian.org>
Thu, 1 Sep 2022 04:24:20 +0000 (05:24 +0100)
Gbp-Pq: Name build-against-shared-lpsolve.diff

RepositoryExternal.mk
configure.ac

index 950ed723fd18d8599c780e025a31297bf15e1c6d..3692c98be1ce5d67961b8f79b8a9cdd7855d0d26 100644 (file)
@@ -2380,6 +2380,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 96b443f0015c0beabd342facf8d77af1271d5ef8..52628e659ae8fb2d5d948dad73a652733a4778a5 100644 (file)
Binary files a/configure.ac and b/configure.ac differ