Dear Maintainer,

Just found a simpler patch which also fixes the problem.

DEB_*_MAINT_APPEND is the preferred way to set additional flags
(see man dpkg-buildflags for more information).

diff -Nru gtk2-engines-oxygen-1.2.2/debian/rules 
gtk2-engines-oxygen-1.2.2/debian/rules
--- gtk2-engines-oxygen-1.2.2/debian/rules      2012-01-21 20:09:29.000000000 
+0100
+++ gtk2-engines-oxygen-1.2.2/debian/rules      2012-04-18 02:18:12.000000000 
+0200
@@ -1,15 +1,14 @@
 #!/usr/bin/make -f
 
+export DEB_LDFLAGS_MAINT_APPEND = -Wl,--no-undefined -Wl,--as-needed
+
 %:
        dh $@ --parallel
 
 override_dh_auto_configure:
        dh_auto_configure -- \
                -DDEBIAN_NO_DEMOS=1 \
-               -DCMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT=yes \
-               -DCMAKE_SHARED_LINKER_FLAGS="-Wl,--no-undefined 
-Wl,--as-needed" \
-               -DCMAKE_MODULE_LINKER_FLAGS="-Wl,--no-undefined 
-Wl,--as-needed" \
-               -DCMAKE_EXE_LINKER_FLAGS="-Wl,--no-undefined -Wl,--as-needed"
+               -DCMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT=yes
 
 override_dh_makeshlibs:
        dh_makeshlibs -X/usr/lib/$(DEB_HOST_MULTIARCH)/gtk-2.0

Regards,
Simon
-- 
+ privacy is necessary
+ using gnupg http://gnupg.org
+ public key id: 0x92FEFDB7E44C32F9

Attachment: signature.asc
Description: Digital signature

Reply via email to