make/lib/LibCommon.gmk
changeset 52022 804792ce736f
parent 51855 8bbb5cbac92c
child 52812 fc54d27e58d8
equal deleted inserted replaced
52021:7b90af8664ca 52022:804792ce736f
    59     CXXFLAGS_JDKLIB += -qvisibility=hidden
    59     CXXFLAGS_JDKLIB += -qvisibility=hidden
    60     EXPORT_ALL_SYMBOLS := -qvisibility=default
    60     EXPORT_ALL_SYMBOLS := -qvisibility=default
    61   endif
    61   endif
    62 endif
    62 endif
    63 
    63 
    64 ################################################################################
       
    65 # Find a library
       
    66 # Param 1 - module name
       
    67 # Param 2 - library name
       
    68 # Param 3 - optional subdir for library
       
    69 FindLib = \
       
    70     $(call FindLibDirForModule, \
       
    71         $(strip $1))$(strip $3)/$(LIBRARY_PREFIX)$(strip $2)$(SHARED_LIBRARY_SUFFIX)
       
    72 
       
    73 ################################################################################
       
    74 # Find a static library
       
    75 # Param 1 - module name
       
    76 # Param 2 - library name
       
    77 # Param 3 - optional subdir for library
       
    78 FindStaticLib = \
       
    79     $(addprefix $(SUPPORT_OUTPUTDIR)/native/, \
       
    80         $(strip $1)$(strip $3)/$(LIBRARY_PREFIX)$(strip $2)$(STATIC_LIBRARY_SUFFIX))
       
    81 
       
    82 # Put the libraries here.
    64 # Put the libraries here.
    83 INSTALL_LIBRARIES_HERE := $(call FindLibDirForModule, $(MODULE))
    65 INSTALL_LIBRARIES_HERE := $(call FindLibDirForModule, $(MODULE))
    84 
    66 
    85 ################################################################################
    67 ################################################################################