aboutsummaryrefslogtreecommitdiffstats
path: root/community/libx86emu/ldflags.patch
blob: de9ca775d90f62c820b1d551dd9e349646348a1e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
Patch-Source: https://src.fedoraproject.org/rpms/libx86emu/blob/f27/f/libx86emu-1.11-ldflags.patch

--- a/Makefile
+++ b/Makefile
@@ -45,7 +45,7 @@
 	install -m 644 -D include/x86emu.h $(DESTDIR)/usr/include/x86emu.h
 
 $(LIB_NAME): .depend $(OBJS)
-	$(CC) -shared -Wl,-soname,$(LIB_SONAME) $(OBJS) -o $(LIB_NAME)
+	$(CC) -shared -Wl,-soname,$(LIB_SONAME) $(LDFLAGS) $(OBJS) -o $(LIB_NAME)
 
 test:
 	make -C test