ps2homebrew / pfsshell

Browse and edit PFS filesystems on APA-formatted hard drive
GNU General Public License v2.0
99 stars 22 forks source link

libtool Configuration Issue on Linux #12

Closed motolav closed 5 years ago

motolav commented 5 years ago

There is a libtool configuation issue on Linux caused by the change on line 10 of Defs.mak in commit "Fix MinGW build" https://github.com/uyjulian/pfsshell/commit/9382e718f69aab101adfaf16219486ef7963441a

GEN_STATIC = $(LIBTOOL) -static -o

Fedora 30 is using libtool (GNU libtool) 2.4.6

[user@hostname pfsshell-1.0.0]$ make
        CC  startup.c
        CC  hl.c
        CC  util.c
        CC  shell.c
make -C fake_sdk
make[1]: Entering directory '/home/user/Builds/pfsshell-1.0.0/fake_sdk'
        CC  atad.c
libtool -static -o libfakeps2sdk.a atad.o
Usage: /usr/bin/libtool [OPTION]... [MODE-ARG]...
Try 'libtool --help' for more information.
libtool:   error: unrecognised option: '-static'
make[1]: *** [Makefile:13: libfakeps2sdk.a] Error 1
make[1]: Leaving directory '/home/user/Builds/pfsshell-1.0.0/fake_sdk'
make: *** [Makefile:34: fake_sdk/libfakeps2sdk.a] Error 2
uyjulian commented 5 years ago

Fixed in 4def9f0