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