File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -1778,7 +1778,13 @@ def generate_target_default(self, mfile):
1778
1778
mfile .write ("\t @echo '#!' >%s.exp" % self ._target )
1779
1779
mfile .write ("; \\ \n \t echo '%s' >>%s.exp\n " % (self ._entry_point , self ._target ))
1780
1780
1781
- mfile .write ("\t $(LINK) $(LFLAGS) -o $(TARGET) $(OFILES) $(LIBS)\n " )
1781
+ if sys .platform == 'os2knix' :
1782
+ mfile .write ("\t @echo 'LIBRARY %s INITINSTANCE TERMINSTANCE' >%s.def\n " % (self ._target , self ._target ))
1783
+ mfile .write ("\t @echo 'DESCRIPTION \" %s\" ' >>%s.def\n " % (self ._targetorg , self ._target ))
1784
+ mfile .write ("\t @echo 'DATA MULTIPLE NONSHARED' >>%s.def\n " % (self ._target ))
1785
+ mfile .write ("\t $(LINK) $(LFLAGS) %s.def -o $(TARGET) $(OFILES) $(LIBS)\n " % (self ._target ))
1786
+ else :
1787
+ mfile .write ("\t $(LINK) $(LFLAGS) -o $(TARGET) $(OFILES) $(LIBS)\n " )
1782
1788
1783
1789
def generate_target_install (self , mfile ):
1784
1790
"""Generate the install target.
You can’t perform that action at this time.
0 commit comments