aboutsummaryrefslogtreecommitdiffstats
path: root/community/libx86emu/ldflags.patch
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2018-04-03 00:50:02 +0200
committerJakub Jirutka <jakub@jirutka.cz>2018-04-03 00:50:02 +0200
commit6fe523efab6d0a5b6d27ad041b5a34ca05e20c2c (patch)
tree74fec774f142df1fdfc9053b3f56a754d1442f5e /community/libx86emu/ldflags.patch
parentde941aa0e60fd61769a165250bc8962ff86f6a4b (diff)
downloadaports-6fe523efab6d0a5b6d27ad041b5a34ca05e20c2c.tar.bz2
aports-6fe523efab6d0a5b6d27ad041b5a34ca05e20c2c.tar.xz
community/libx86emu: move from testing
Diffstat (limited to 'community/libx86emu/ldflags.patch')
-rw-r--r--community/libx86emu/ldflags.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/community/libx86emu/ldflags.patch b/community/libx86emu/ldflags.patch
new file mode 100644
index 0000000000..de9ca775d9
--- /dev/null
+++ b/community/libx86emu/ldflags.patch
@@ -0,0 +1,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