public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
* [PATCH] openjade: Use our LDFLAGS when linking the libraries
@ 2023-03-11 16:43 Stefan Schantl
  0 siblings, 0 replies; only message in thread
From: Stefan Schantl @ 2023-03-11 16:43 UTC (permalink / raw)
  To: development

[-- Attachment #1: Type: text/plain, Size: 773 bytes --]

Signed-off-by: Stefan Schantl <stefan.schantl(a)ipfire.org>
---
 openjade/openjade.nm | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/openjade/openjade.nm b/openjade/openjade.nm
index 717e4dd06..7437215ec 100644
--- a/openjade/openjade.nm
+++ b/openjade/openjade.nm
@@ -5,7 +5,7 @@
 
 name       = openjade
 version    = 1.3.2
-release    = 6
+release    = 7
 
 groups     = Application/Text
 url        = https://openjade.sourceforge.net/
@@ -39,6 +39,11 @@ build
 		%{MACRO_FIX_AUTOTOOLS}
 	end
 
+	configure_cmds
+		# Ensure to use our LDFLAGS when linking the libraries.
+		sed -i 's/LINKFLAGS =/LINKFLAGS = %{LDFLAGS}/g' Makefile.lib
+	end
+
 	install_cmds
 		# Create symlink for jade
 		ln -s openjade %{BUILDROOT}/usr/bin/jade
-- 
2.30.2


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-03-11 16:43 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-11 16:43 [PATCH] openjade: Use our LDFLAGS when linking the libraries Stefan Schantl

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox