tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

config.mk (893B)


      1 #
      2 # This Source Code Form is subject to the terms of the Mozilla Public
      3 # License, v. 2.0. If a copy of the MPL was not distributed with this
      4 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
      5 
      6 # can't do this in manifest.mn because OS_TARGET isn't defined there.
      7 ifeq (,$(filter-out WIN%,$(OS_TARGET)))
      8 
      9 ifdef NS_USE_GCC
     10 EXTRA_SHARED_LIBS += \
     11 -L$(DIST)/lib \
     12 -L$(NSPR_LIB_DIR) \
     13 -lplc4 \
     14 -lplds4 \
     15 -lnspr4\
     16 $(NULL)
     17 else # ! NS_USE_GCC
     18 EXTRA_SHARED_LIBS += \
     19 $(NSPR_LIB_DIR)/$(NSPR31_LIB_PREFIX)plc4.lib \
     20 $(NSPR_LIB_DIR)/$(NSPR31_LIB_PREFIX)plds4.lib \
     21 $(NSPR_LIB_DIR)/$(NSPR31_LIB_PREFIX)nspr4.lib \
     22 $(NULL)
     23 endif # NS_USE_GCC
     24 
     25 else
     26 
     27 # $(PROGRAM) has NO explicit dependencies on $(EXTRA_SHARED_LIBS)
     28 # $(EXTRA_SHARED_LIBS) come before $(OS_LIBS), except on AIX.
     29 EXTRA_SHARED_LIBS += \
     30 -L$(DIST)/lib \
     31 -L$(NSPR_LIB_DIR) \
     32 -lplc4 \
     33 -lplds4 \
     34 -lnspr4 \
     35 $(NULL)
     36 
     37 endif