File OpenIPMI-libtool.patch of Package OpenIPMI
--- swig/perl/Makefile.am +++ swig/perl/Makefile.am @@ -19,7 +19,7 @@ OpenIPMI_SRC = OpenIPMI_wrap.c OpenIPMI_ OpenIPMI_OBJ = OpenIPMI_wrap.o OpenIPMI_perl.o OpenIPMI.so: $(OpenIPMI_OBJ) - $(LIBTOOL) --mode=link $(CC) -shared -o $@ $^ $(OPENIPMI_SWIG_LIBS) + $(LIBTOOL) --mode=link $(CC) -XCClinker -shared -o OpenIPMI.so $^ $(OPENIPMI_SWIG_LIBS) rm OpenIPMI.so mv .libs/OpenIPMI.so . rm -rf .libs --- swig/python/Makefile.am +++ swig/python/Makefile.am @@ -21,7 +21,7 @@ OpenIPMI_OBJ = OpenIPMI_wrap.o EXTRA_DIST = OpenIPMI_lang.i OpenIPMI.h openipmigui.py _OpenIPMI.so: $(OpenIPMI_OBJ) - $(LIBTOOL) --mode=link $(CC) -shared -o $@ $^ $(OPENIPMI_SWIG_LIBS) + $(LIBTOOL) --mode=link $(CC) -XCClinker -shared -o $@ $^ $(OPENIPMI_SWIG_LIBS) rm _OpenIPMI.so mv .libs/_OpenIPMI.so . rm -rf .libs