fragglet / lhasa

Free Software LHA implementation
http://fragglet.github.io/lhasa/
ISC License
80 stars 15 forks source link

Fix `make` on `srcdir != builddir` #46

Closed fd00 closed 1 year ago

fd00 commented 1 year ago
$ cd /usr/src
$ git clone https://github.com/fragglet/lhasa.git
$ cd lhasa
$ autoreconf -fiv
$ cd /tmp/lhasa
$ /usr/src/lhasa/configure
$ make
/usr/src/lhasa/src/main.c:26:10: fatal error: lib/lha_arch.h: No such file or directory
   26 | #include "lib/lha_arch.h"
      |          ^~~~~~~~~~~~~~~~
sezero commented 1 year ago

It would be really nice if this gets merged

Ghabry commented 1 year ago

ack for merge. I'm currently submitting this to vcpkg and this requires working out-of-tree builds.

fragglet commented 1 year ago

Looks good, thanks!