File libchewing-0.4.0-simple-select-rpath.patch of Package libchewing

Index: libchewing-0.4.0/contrib/Makefile
===================================================================
--- libchewing-0.4.0.orig/contrib/Makefile
+++ libchewing-0.4.0/contrib/Makefile
@@ -3,8 +3,7 @@ TARGET = simple-select
 # FIXME: static build and cross-platform support
 LIBCHEWING = $(shell dirname $(shell find .. -name libchewing.so))
 CHEWING_LDFLAGS = \
-	-L $(LIBCHEWING) -lchewing \
-	-Wl,-rpath=$(LIBCHEWING)
+	-L $(LIBCHEWING) -lchewing
 
 all: $(TARGET)
 
openSUSE Build Service is sponsored by