winpthreads: Silence MSVC copyright message

Signed-off-by: Antonin Décimo <antonin@tarides.com>
Signed-off-by: Martin Storsjö <martin@martin.st>
This commit is contained in:
Antonin Décimo 2023-12-14 11:03:54 +01:00 committed by Martin Storsjö
parent 0f9248bc73
commit c7ae35680f
2 changed files with 8 additions and 1 deletions

View File

@ -15,6 +15,10 @@ libwinpthread_la_SOURCES = \
src/barrier.c src/cond.c src/misc.c src/mutex.c src/rwlock.c src/spinlock.c src/thread.c src/ref.c src/sem.c src/sched.c \
src/winpthread_internal.h src/clock.c src/nanosleep.c src/version.rc
if MSVC
AM_CFLAGS += -nologo
endif
# Break circular dep on bootstrap
noinst_LIBRARIES = fakelib/libgcc.a fakelib/libgcc_eh.a fakelib/libgcc_s.a
fakelib_libgcc_a_SOURCES = src/libgcc/dll_dependency.S src/libgcc/dll_math.c

View File

@ -21,8 +21,11 @@ AM_PROG_AR
AS_CASE([$CC],
[*cl|*cl.exe],
[RC="$am_aux_dir/windres-rc rc.exe"]])
[RC="$am_aux_dir/windres-rc rc.exe"
msvc=true],
[msvc=false]])
AC_SUBST([RCFLAGS])
AM_CONDITIONAL([MSVC], [test x$msvc = xtrue])
# Libtool 2.4 should check them correctly
# AC_CHECK_TOOLS([AR],[ar],[:])