Skip to content

Commit

Permalink
Link libCreationTimeHelper with -ldl
Browse files Browse the repository at this point in the history
  • Loading branch information
jerboaa committed Oct 3, 2023
1 parent 04226fd commit 83347ec
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions make/test/JtregNativeJdk.gmk
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,8 @@ ifeq ($(call isTargetOs, linux), true)
# stripping during the test libraries' build.
BUILD_JDK_JTREG_LIBRARIES_CFLAGS_libFib := -g
BUILD_JDK_JTREG_LIBRARIES_STRIP_SYMBOLS_libFib := false
# nio tests' libCreationTimeHelper native needs -ldl linker flag
BUILD_JDK_JTREG_LIBRARIES_LDFLAGS_libCreationTimeHelper := -ldl
endif

ifeq ($(ASAN_ENABLED), true)
Expand Down

0 comments on commit 83347ec

Please sign in to comment.