mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-16 10:39:18 +02:00
+ unzipdll enabled for emx target
This commit is contained in:
parent
fa6166944f
commit
3b8d291ddf
@ -213,6 +213,9 @@ override TARGET_UNITS+=ziptypes unzip
|
|||||||
ifeq ($(OS_TARGET),os2)
|
ifeq ($(OS_TARGET),os2)
|
||||||
override TARGET_UNITS+=unzipdll
|
override TARGET_UNITS+=unzipdll
|
||||||
endif
|
endif
|
||||||
|
ifeq ($(OS_TARGET),emx)
|
||||||
|
override TARGET_UNITS+=unzipdll
|
||||||
|
endif
|
||||||
override INSTALL_FPCPACKAGE=y
|
override INSTALL_FPCPACKAGE=y
|
||||||
ifdef REQUIRE_UNITSDIR
|
ifdef REQUIRE_UNITSDIR
|
||||||
override UNITSDIR+=$(REQUIRE_UNITSDIR)
|
override UNITSDIR+=$(REQUIRE_UNITSDIR)
|
||||||
|
@ -8,6 +8,7 @@ version=1.9.2
|
|||||||
|
|
||||||
[target]
|
[target]
|
||||||
units=ziptypes unzip
|
units=ziptypes unzip
|
||||||
|
units_emx=unzipdll
|
||||||
units_os2=unzipdll
|
units_os2=unzipdll
|
||||||
|
|
||||||
[install]
|
[install]
|
||||||
|
@ -210,6 +210,11 @@ begin
|
|||||||
end;
|
end;
|
||||||
|
|
||||||
begin
|
begin
|
||||||
|
{$IFDEF EMX}
|
||||||
|
if os_Mode <> osOS2 then
|
||||||
|
FileUnzipEx := TFileUnzipEx (@Unzip.FileUnzipEx)
|
||||||
|
else
|
||||||
|
{$ENDIF EMX}
|
||||||
if DLLInit then
|
if DLLInit then
|
||||||
begin
|
begin
|
||||||
OldExit := ExitProc;
|
OldExit := ExitProc;
|
||||||
@ -242,7 +247,10 @@ begin
|
|||||||
end.
|
end.
|
||||||
{
|
{
|
||||||
$Log$
|
$Log$
|
||||||
Revision 1.5 2003-08-03 22:25:55 hajny
|
Revision 1.6 2004-02-22 16:09:38 hajny
|
||||||
|
+ unzipdll enabled for emx target
|
||||||
|
|
||||||
|
Revision 1.5 2003/08/03 22:25:55 hajny
|
||||||
* integer type inconsistency resolved
|
* integer type inconsistency resolved
|
||||||
|
|
||||||
Revision 1.4 2002/09/07 15:43:06 peter
|
Revision 1.4 2002/09/07 15:43:06 peter
|
||||||
|
Loading…
Reference in New Issue
Block a user