ps2dev / ps2-packer

Create packed ELF files to run on the PS2
GNU General Public License v2.0
73 stars 28 forks source link

Fixed compilation on BSD systems and reformated the variables. #19

Closed zappepappe closed 5 years ago

sp193 commented 5 years ago

Is there really a need to manually include files from /usr/local/include & /usr/local/lib? Aren't they automatically included by the host's toolchain?

CPPFLAGS += -I/usr/local/include -L/usr/local/lib
zappepappe commented 5 years ago

Not on FreeBSD nor OpenBSD, wouldn't have added them if they didn't need to be there. The BSD systems separate between the base system and user installed software. If the base toolchain is used, it won't look in localbase (/usr/local in FreeBSD and OpenBSD and /usr/pkg in NetBSD). So either you have to tell the compiler to look there, or you have to install another compiler.