Browse Source

use LDFLAGS

pull/1639/head
bsp2 6 years ago
parent
commit
8d07162e28
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      dep/yac/sharedlib_linux.mk

+ 1
- 1
dep/yac/sharedlib_linux.mk View File

@@ -30,7 +30,7 @@ CFLAGS += -Wall -I$(CROSS_ROOT)/usr/include
# Build plugin library # Build plugin library
# #
bin: $(BIN_RULES) $(ALL_OBJ) bin: $(BIN_RULES) $(ALL_OBJ)
$(CPP) -shared -o "$(TARGET)" -Wl,-soname,$(TARGET) -mtls-dialect=gnu2 $(ALL_OBJ) $(EXTRALIBS)
$(CPP) -shared -o "$(TARGET)" -Wl,-soname,$(TARGET) -mtls-dialect=gnu2 $(ALL_OBJ) $(LDFLAGS) $(EXTRALIBS)
ifneq ($(DEBUG),y) ifneq ($(DEBUG),y)
$(STRIP) "$(TARGET)" $(STRIP) "$(TARGET)"
endif endif


Loading…
Cancel
Save