Skip to content

Commit

Permalink
Try to fix GitHub CI (Ubuntu) build process; does not appear on Rocky.
Browse files Browse the repository at this point in the history
    ... hidden symbol `__TMC_END__' can not be used when making
    a shared object
  • Loading branch information
SirWumpus committed Oct 10, 2024
1 parent 17fdf9e commit 3123e30
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions jni/makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ C = .class
J = .java
L = .so
O = .@OBJEXT@
.SUFFIXES : .c $J .i $O $C $L $A .jar
.SUFFIXES : .c $J .i $O $C $A $L .jar

LIBNAME = libpost4jni$L
MAIN = post4.jni.Post4
Expand Down Expand Up @@ -71,10 +71,10 @@ $O$E :
all: build

clean: title
-rm *.i *$O *.class *.core *.log
-rm *.i *$O *.class *.core *.log *$L *$A *.jar

clobber distclean: clean
-rm -rf *$L *.so *.dll *$A *.jar makefile ./post4
-rm makefile

build: title ${LIBNAME} Post4Exception$C Post4Options$C Post4Stacks$C Post4$C

Expand All @@ -101,7 +101,7 @@ Post4.jar: build
rm -rf post4

${LIBNAME}: Post4$O ../src/libpost4$A
${CC} ${CFLAGS} -shared -static -o $@ Post4$O ../src/libpost4$A ${LIBS}
${CC} ${CFLAGS} -no-pie -shared -static -o $@ Post4$O ../src/libpost4$A ${LIBS}

../src/libpost4$A : ../src/*.h ../src/*.c
cd ../src; ${MAKE} libpost4$A
Expand Down

0 comments on commit 3123e30

Please sign in to comment.