build-against-shared-lpsolve
authorDebian LibreOffice Maintainers <debian-openoffice@lists.debian.org>
Wed, 18 Apr 2018 15:17:55 +0000 (16:17 +0100)
committerRene Engelhard <rene@debian.org>
Wed, 18 Apr 2018 15:17:55 +0000 (16:17 +0100)
Gbp-Pq: Name build-against-shared-lpsolve.diff

RepositoryExternal.mk
configure.ac

index 24bbab79fc2722d983c917377e34fcdea1802117..7705272520198f2adf9fb4fe846604e80e28a3e9 100644 (file)
@@ -2325,7 +2325,7 @@ ifneq ($(ENABLE_LPSOLVE),)
 ifneq ($(SYSTEM_LPSOLVE),)
 
 define gb_LinkTarget__use_lpsolve
-$(call gb_LinkTarget_add_libs,$(1),-llpsolve55)
+$(call gb_LinkTarget_add_ldflags,$(1),/usr/lib/lp_solve/liblpsolve55.so -Wl$(COMMA)-rpath=/usr/lib/lp_solve)
 $(call gb_LinkTarget_add_defs,$(1),\
        -DSYSTEM_LPSOLVE \
 )
index f5700a53ffc4853f64683c835590255b6a6c5550..9ef52346b7be03b5ba2bd81a449509610411f64b 100644 (file)
Binary files a/configure.ac and b/configure.ac differ