python-pyblock fix build

This commit is contained in:
Ertuğrul Erata
2016-03-30 10:45:14 +03:00
parent bec0caea5e
commit 6488edc222
2 changed files with 28 additions and 2 deletions
@@ -8,11 +8,11 @@ from pisi.actionsapi import autotools
from pisi.actionsapi import shelltools
from pisi.actionsapi import get
#WorkDir = "pyblock-0.47-1_20100712"
def build():
shelltools.export("CFLAGS", "%s -g -I/usr/include/%s -Wall -Werror -fPIC" % (get.CFLAGS(), get.curPYTHON()))
shelltools.export("CFLAGS", "%s -g -I/usr/include/%s -Wall -fPIC" % (get.CFLAGS(), get.curPYTHON()))
shelltools.export("LDFLAGS", "%s -shared" % get.LDFLAGS())
autotools.make("USESELINUX=0")
def install():