forked from pool/libguestfs
ddc77aadf5
new package (libguestfs) OBS-URL: https://build.opensuse.org/request/show/85864 OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=1
16 lines
611 B
Diff
16 lines
611 B
Diff
Index: ruby/Makefile.am
|
|
===================================================================
|
|
--- ruby/Makefile.am.orig
|
|
+++ ruby/Makefile.am
|
|
@@ -53,6 +53,10 @@ TESTS_ENVIRONMENT = \
|
|
|
|
all: $(generator_built)
|
|
rake build
|
|
+ sed -i 's|-Wl,-R\ -Wl,\$$(libdir)||' $(top_builddir)/ruby/ext/guestfs/Makefile
|
|
+ sed -i 's|-Wl,-R\$$(libdir)||' $(top_builddir)/ruby/ext/guestfs/Makefile
|
|
+ sed -i 's|-Wl,-R[^[:blank:]]*/src/.libs||' $(top_builddir)/ruby/ext/guestfs/Makefile
|
|
+ make -C $(top_builddir)/ruby/ext/guestfs clean all
|
|
rake rdoc
|
|
|
|
RUBY_SITELIB := $(shell ruby -rrbconfig -e "puts Config::CONFIG['sitelibdir']")
|