Shayan Doust pushed to branch master at Debian Med / pll-modules


Commits:
fa3e6c68 by Shayan Doust at 2020-06-09T00:00:01+01:00
Add -Wl,R to test makefile
We tell the binary to look at the library generated within debian/tmp and if 
available, use that

- - - - -


1 changed file:

- debian/patches/modify_test_makefile.patch


Changes:

=====================================
debian/patches/modify_test_makefile.patch
=====================================
@@ -3,18 +3,18 @@ Description: modify library and header location in test's 
Makefile
 Author: Shayan Doust <[email protected]>
 Last-Update: 2020-06-01
 ---
---- a/test/Makefile
-+++ b/test/Makefile
-@@ -29,7 +29,7 @@ ifdef LIBPLL_INC
+--- pll-modules.orig/test/Makefile
++++ pll-modules/test/Makefile
+@@ -29,7 +29,7 @@
      CFLAGS += -L$(LIBPLL_INC)
    endif
  else
 -  CFLAGS += -I../install/include/libpll -L../install/lib
-+  CFLAGS += -I/usr/include/libpll 
-I$(CURDIR)/../debian/tmp/usr/include/libpll -L/usr/lib 
-L$(CURDIR)/../debian/tmp/usr/lib/`dpkg-architecture -qDEB_BUILD_MULTIARCH`/
++  CFLAGS += -I/usr/include/libpll 
-I$(CURDIR)/../debian/tmp/usr/include/libpll -L/usr/lib 
-L$(CURDIR)/../debian/tmp/usr/lib/`dpkg-architecture -qDEB_BUILD_MULTIARCH`/ 
-Wl,-R$(CURDIR)/../debian/tmp/usr/lib/`dpkg-architecture -qDEB_BUILD_MULTIARCH`/
  endif
  
  MODULES = binary optimize tree
-@@ -67,8 +67,9 @@ all: $(OBJCOMMON) $(OBJFILES) $(REQFILES
+@@ -67,8 +67,9 @@
        @mkdir -p $(RESULTDIR) $(foreach m,$(MODULES), $(RESULTDIR)/$(m))
  
  $(DATADIR)/%:



View it on GitLab: 
https://salsa.debian.org/med-team/pll-modules/-/commit/fa3e6c68c38ebed796ce24304ac8801991acf6ae

-- 
View it on GitLab: 
https://salsa.debian.org/med-team/pll-modules/-/commit/fa3e6c68c38ebed796ce24304ac8801991acf6ae
You're receiving this email because of your account on salsa.debian.org.


_______________________________________________
debian-med-commit mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-med-commit

Reply via email to