Skip to content

Commit

Permalink
more HACK
Browse files Browse the repository at this point in the history
  • Loading branch information
fingolfin committed Jan 15, 2024
1 parent 4aa822b commit 1ce61ef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile.rules
Original file line number Diff line number Diff line change
Expand Up @@ -503,7 +503,7 @@ bin/$(GAPARCH)/gap.dll: libgap.dll
cp $< $@

gap$(EXEEXT): libgap$(SHLIB_EXT) cnf/GAP-LDFLAGS cnf/GAP-LIBS cnf/GAP-OBJS build/obj/src/main.c.o
$(QUIET_LINK)$(LINK) $(GAP_LDFLAGS) -Wl,--export-all-symbols build/obj/src/main.c.o $(GAP_LIBS) libgap$(SHLIB_EXT) -o $@
$(QUIET_LINK)$(LINK) $(GAP_LDFLAGS) -Wl,-rpath,$(abs_builddir) -Wl,--export-all-symbols build/obj/src/main.c.o $(GAP_LIBS) libgap$(SHLIB_EXT) -o $@
@( if which peflags > /dev/null ; then peflags --cygwin-heap=2048 gap$(EXEEXT) ; fi )

else
Expand All @@ -520,7 +520,7 @@ build/main.c: src/main.c
# build rule for the gap executable used by the `install-bin` target
# TODO: ensure this links against the libgap in $libdir
build/gap-install: libgap$(SHLIB_EXT) cnf/GAP-LDFLAGS cnf/GAP-LIBS cnf/GAP-OBJS build/obj/build/main.c.o
$(QUIET_LINK)$(LINK) $(GAP_LDFLAGS) build/obj/build/main.c.o $(GAP_LIBS) libgap$(SHLIB_EXT) -o $@
$(QUIET_LINK)$(LINK) $(GAP_LDFLAGS) -Wl,-rpath,$(libdir) build/obj/build/main.c.o $(GAP_LIBS) libgap$(SHLIB_EXT) -o $@

endif

Expand Down

0 comments on commit 1ce61ef

Please sign in to comment.