motif package: fix linking the simple_app demo program (#26574)
This commit is contained in:
parent
95e63e0c29
commit
4eb176b070
@ -37,6 +37,13 @@ class Motif(AutotoolsPackage):
|
|||||||
|
|
||||||
patch('add_xbitmaps_dependency.patch')
|
patch('add_xbitmaps_dependency.patch')
|
||||||
|
|
||||||
|
def patch(self):
|
||||||
|
# fix linking the simple_app demo program
|
||||||
|
# https://bugs.launchpad.net/ubuntu/+source/openmotif/+bug/705294
|
||||||
|
filter_file('../../../lib/Exm/libExm.a',
|
||||||
|
'../../../lib/Exm/libExm.a -lX11',
|
||||||
|
'demos/programs/Exm/simple_app/Makefile.am')
|
||||||
|
|
||||||
def autoreconf(self, spec, prefix):
|
def autoreconf(self, spec, prefix):
|
||||||
autoreconf = which('autoreconf')
|
autoreconf = which('autoreconf')
|
||||||
with working_dir(self.configure_directory):
|
with working_dir(self.configure_directory):
|
||||||
|
Loading…
Reference in New Issue
Block a user