aboutsummaryrefslogtreecommitdiffstats
path: root/testing/hime/fix-im-client-ldflags.patch
diff options
context:
space:
mode:
Diffstat (limited to 'testing/hime/fix-im-client-ldflags.patch')
-rw-r--r--testing/hime/fix-im-client-ldflags.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/testing/hime/fix-im-client-ldflags.patch b/testing/hime/fix-im-client-ldflags.patch
new file mode 100644
index 0000000000..4e58f14138
--- /dev/null
+++ b/testing/hime/fix-im-client-ldflags.patch
@@ -0,0 +1,14 @@
+--- a/src/im-client/Makefile
++++ b/src/im-client/Makefile
+@@ -35,9 +35,9 @@
+ @echo "linking $@ ..."
+
+ ifeq ($(FREEBSD), 0)
+- $(CC) $(SO_FLAGS) -Wl,-soname,libhime-im-client.so.1 $(OBJS) $(LDFLAGS+) -o $@ -L/usr/X11R6/lib
++ $(CC) $(SO_FLAGS) -Wl,-soname,libhime-im-client.so.1 $(OBJS) $(LDFLAGS) -o $@ -L/usr/X11R6/lib
+ else
+- $(CC) $(SO_FLAGS) -Wl,-soname,libhime-im-client.so.1 $(OBJS) $(LDFLAGS+) -o $@ -L/usr/local/lib
++ $(CC) $(SO_FLAGS) -Wl,-soname,libhime-im-client.so.1 $(OBJS) $(LDFLAGS) -o $@ -L/usr/local/lib
+ endif
+ ln -sf $(SOFILEVER) $(SOFILE)
+ ln -sf $(SOFILEVER) $(SOFILE).1