[BACK]Return to patch-pyvex__c_Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / devel / py-pyvex / patches

Annotation of pkgsrc/devel/py-pyvex/patches/patch-pyvex__c_Makefile, Revision 1.3

1.3     ! riastrad    1: $NetBSD: patch-pyvex__c_Makefile,v 1.2 2020/01/09 14:02:32 wiz Exp $
1.1       khorben     2:
1.3     ! riastrad    3: Append to LDFLAGS rather than replacing it.
1.1       khorben     4:
1.3     ! riastrad    5: --- pyvex_c/Makefile.orig      2020-07-28 02:00:38.000000000 +0000
1.1       khorben     6: +++ pyvex_c/Makefile
1.3     ! riastrad    7: @@ -2,22 +2,22 @@ UNAME := $(shell uname)
1.2       wiz         8:  ifeq ($(UNAME), Darwin)
                      9:        LIBRARY_FILE=libpyvex.dylib
1.1       khorben    10:        STATIC_LIBRARY_FILE=libpyvex.a
1.3     ! riastrad   11: -      LDFLAGS=-Wl,-install_name,@rpath/$(LIBRARY_FILE)
        !            12: +      LDFLAGS+=-Wl,-install_name,@rpath/$(LIBRARY_FILE)
1.1       khorben    13:  endif
1.2       wiz        14:  ifeq ($(UNAME), Linux)
                     15:        LIBRARY_FILE=libpyvex.so
                     16:        STATIC_LIBRARY_FILE=libpyvex.a
                     17: -      LDFLAGS=-Wl,-soname,$(LIBRARY_FILE)
                     18: +      LDFLAGS+=-Wl,-soname,$(LIBRARY_FILE)
                     19:  endif
                     20:  ifeq ($(UNAME), NetBSD)
                     21:        LIBRARY_FILE=libpyvex.so
                     22:        STATIC_LIBRARY_FILE=libpyvex.a
                     23: -      LDFLAGS=-Wl,-soname,$(LIBRARY_FILE)
                     24: +      LDFLAGS+=-Wl,-soname,$(LIBRARY_FILE)
                     25:  endif
1.1       khorben    26:  ifeq ($(findstring MINGW,$(UNAME)), MINGW)
                     27:        LIBRARY_FILE=pyvex.dll
                     28:        STATIC_LIBRARY_FILE=libpyvex.a
1.2       wiz        29: -      LDFLAGS=
                     30: +      LDFLAGS+=
                     31:  endif
1.1       khorben    32:
1.2       wiz        33:  # deeply evil

CVSweb <webmaster@jp.NetBSD.org>