[med-svn] [Git][med-team/pll-modules][master] Add -Wl, R to test makefile

Shayan Doust gitlab at salsa.debian.org
Tue Jun 9 00:01:27 BST 2020



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 <hello at shayandoust.me>
 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.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20200608/150396c2/attachment.html>


More information about the debian-med-commit mailing list