replace --host with --build to make it work correctly
This commit is contained in:
@@ -60,7 +60,7 @@ def configure(parameters = ''):
|
|||||||
|
|
||||||
args = './configure \
|
args = './configure \
|
||||||
--prefix=/%s \
|
--prefix=/%s \
|
||||||
--host=%s \
|
--build=%s \
|
||||||
--mandir=/%s \
|
--mandir=/%s \
|
||||||
--infodir=/%s \
|
--infodir=/%s \
|
||||||
--datadir=/%s \
|
--datadir=/%s \
|
||||||
@@ -85,7 +85,7 @@ def rawConfigure(parameters = ''):
|
|||||||
raise ConfigureError(_('Configure failed.'))
|
raise ConfigureError(_('Configure failed.'))
|
||||||
else:
|
else:
|
||||||
raise ConfigureError(_('No configure script found.'))
|
raise ConfigureError(_('No configure script found.'))
|
||||||
|
|
||||||
def compile(parameters = ''):
|
def compile(parameters = ''):
|
||||||
#FIXME: Only one package uses this until now, hmmm
|
#FIXME: Only one package uses this until now, hmmm
|
||||||
system('%s %s %s' % (get.CC(), get.CFLAGS(), parameters))
|
system('%s %s %s' % (get.CC(), get.CFLAGS(), parameters))
|
||||||
|
|||||||
@@ -50,7 +50,7 @@ def configure(parameters = ''):
|
|||||||
if can_access_file('configure'):
|
if can_access_file('configure'):
|
||||||
args = './configure \
|
args = './configure \
|
||||||
--prefix=%s \
|
--prefix=%s \
|
||||||
--host=%s \
|
--build=%s \
|
||||||
--with-x \
|
--with-x \
|
||||||
--enable-mitshm \
|
--enable-mitshm \
|
||||||
--with-xinerama \
|
--with-xinerama \
|
||||||
|
|||||||
Reference in New Issue
Block a user