File guitarix2-missing_libdl.diff of Package guitarix

Index: guitarix2-0.19.0/src/gx_head/wscript
===================================================================
--- guitarix2-0.19.0.orig/src/gx_head/wscript
+++ guitarix2-0.19.0/src/gx_head/wscript
@@ -63,13 +63,14 @@ def build(bld):
     else:
         libpath = []
         uselib_local += ['gxwmm','gxw']
+	bld.env.LINKFLAGS_DL = ['-ldl'] 
     bld(features = 'cxx cprogram',
         includes = incl,
         obj_ext  = '.o',
         source = sources,
         lib = lib,
         uselib = ['JACK', 'SNDFILE', 'GTHREAD', 'GMODULE_EXPORT',
-                  'GTK2', 'GTKMM', 'GIOMM', 'ZITA_CONVOLVER', 'FFTW3'],
+                  'GTK2', 'GTKMM', 'GIOMM', 'ZITA_CONVOLVER', 'FFTW3', 'DL'],
         uselib_local = uselib_local,
         libpath = libpath,
         target = bld.env['BIN_NAME1'],
openSUSE Build Service is sponsored by