build-against-shared-lpsolve
authorDebian LibreOffice Maintainers <debian-openoffice@lists.debian.org>
Sat, 2 Jun 2018 10:14:04 +0000 (11:14 +0100)
committerRene Engelhard <rene@debian.org>
Sat, 2 Jun 2018 10:14:04 +0000 (11:14 +0100)
Gbp-Pq: Name build-against-shared-lpsolve.diff

RepositoryExternal.mk
configure.ac

index 9105397ae2a8b69ecc0cc54ebe2e266ce27bb875..847a5b5ceb216ddf79c15e66463ab1968fc58e8f 100644 (file)
@@ -2426,6 +2426,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 305b55866aee95c2d96e3d81e3ec8faa483bb7f8..f05267c2f33f32750032a8460f268120773b5194 100644 (file)
Binary files a/configure.ac and b/configure.ac differ