diff --git a/x11/library/libdrm/actions.py b/x11/library/libdrm/actions.py index 505891a697..cf16141836 100644 --- a/x11/library/libdrm/actions.py +++ b/x11/library/libdrm/actions.py @@ -11,7 +11,13 @@ from pisi.actionsapi import shelltools def setup(): #pisitools.dosed("configure.ac", "pthread-stubs", deleteLine=True) autotools.autoreconf("-fi") - autotools.configure("--enable-udev") + options = " --enable-udev" + + if get.buildTYPE() == "_emul32": + options += " --libdir=/usr/lib32" + + autotools.configure(options) + pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ") def build(): @@ -19,4 +25,7 @@ def build(): def install(): autotools.rawInstall("DESTDIR=%s" % get.installDIR()) + if get.buildTYPE() == "_emul32": + return + #pisitools.dodoc("README")