Kamal Heib 393d82
From f9c2ffd7935fb799a084d74ee432e21c3f45b6f1 Mon Sep 17 00:00:00 2001
Kamal Heib 393d82
From: Kamal Heib <kheib@redhat.com>
Kamal Heib 393d82
Date: Fri, 24 May 2024 21:15:47 -0400
Kamal Heib 393d82
Subject: [PATCH] Fix bind-now test
Kamal Heib 393d82
Kamal Heib 393d82
Signed-off-by: Kamal Heib <kheib@redhat.com>
Kamal Heib 393d82
---
Kamal Heib 393d82
 resourcetools/resourcedump_lib/src/sdk/Makefile.am | 2 +-
Kamal Heib 393d82
 1 file changed, 1 insertion(+), 1 deletion(-)
Kamal Heib 393d82
Kamal Heib 393d82
diff --git a/resourcetools/resourcedump_lib/src/sdk/Makefile.am b/resourcetools/resourcedump_lib/src/sdk/Makefile.am
Kamal Heib 393d82
index aefc88a4f849..de9577b27379 100644
Kamal Heib 393d82
--- a/resourcetools/resourcedump_lib/src/sdk/Makefile.am
Kamal Heib 393d82
+++ b/resourcetools/resourcedump_lib/src/sdk/Makefile.am
Kamal Heib 393d82
@@ -86,7 +86,7 @@ resource_dump_sdk_so_DEPS = \
Kamal Heib 393d82
 
Kamal Heib 393d82
 # if !WIN_BUILD
Kamal Heib 393d82
 libresource_dump_sdk.so: libresource_dump_sdk.la
Kamal Heib 393d82
-	$(CC) -Wall -pthread -shared ${CFLAGS} $(COMPILER_FPIC) libresource_dump_sdk_la-resource_dump_sdk.o \
Kamal Heib 393d82
+	$(CC) -Wall -pthread -shared -Wl,-z,now -Wl,${CFLAGS} $(COMPILER_FPIC) libresource_dump_sdk_la-resource_dump_sdk.o \
Kamal Heib 393d82
 	-o libresource_dump_sdk.so ${AM_LDFLAGS} $(resource_dump_sdk_so_DEPS)
Kamal Heib 393d82
 # else
Kamal Heib 393d82
 # libresource_dump_sdk.dll: libresource_dump_sdk.la
Kamal Heib 393d82
-- 
Kamal Heib 393d82
2.45.0
Kamal Heib 393d82