This commit is contained in:
Rmys
2020-12-06 21:01:17 +03:00
committed by GitHub
parent f6b5924f97
commit f14526ab59
@@ -9,9 +9,14 @@ from pisi.actionsapi import pisitools
from pisi.actionsapi import get
def setup():
autotools.configure()
pisitools.dosed("libtool", " -shared ", " -Wl,--as-needed -shared ")
# fix build failure w/ xfce4-panel-4.15.0
pisitools.dosed("panel-plugin/main.c", "<libxfce4panel/xfce-panel-plugin.h>", "<libxfce4panel/libxfce4panel.h>")
pisitools.dosed("panel-plugin/config_gui.c", "<libxfce4panel/xfce-panel-plugin.h>", "<libxfce4panel/libxfce4panel.h>")
pisitools.dosed("panel-plugin/config_gui.h", "<libxfce4panel/xfce-panel-plugin.h>", "<libxfce4panel/libxfce4panel.h>")
autotools.configure()
pisitools.dosed("libtool", " -shared ", " -Wl,--as-needed -shared ")
def build():
autotools.make()